Appointment Phone Field Optional
by Waqas Mustafa https://www.linkedin.com/in/waqas-mustafa-ba5701209/
Odoo
$ 4.94
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Appointments (appointment)
• Calendar (calendar) • Discuss (mail) |
Lines of code | 60 |
Technical Name |
appointment-phone-field-optional |
License | LGPL-3 |
Website | https://www.linkedin.com/in/waqas-mustafa-ba5701209/ |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Appointments (appointment)
• Calendar (calendar) • Discuss (mail) |
Lines of code | 60 |
Technical Name |
appointment-phone-field-optional |
License | LGPL-3 |
Website | https://www.linkedin.com/in/waqas-mustafa-ba5701209/ |
Versions | 17.0 18.0 |
- Enterprise
Enterprise
Appointment Phone Field Optional for Odoo Website Appointments
Make Phone Optional on Appointment Booking
Let visitors submit the appointment form without a phone number. Empty values are safely normalized to 'N/A' to prevent errors.
Description
This module makes the phone field optional on the website appointment form. It updates the frontend to remove the required flag and adjusts the backend flow to replace empty phone values with 'N/A', avoiding validation or formatting errors.
Designed for businesses that do not require phone numbers for booking, while keeping the rest of the appointment flow intact.
Key Features
Phone Field Optional
Removes the required attribute on the website appointment phone input
Safe Server Handling
Empty phone values are normalized to 'N/A' on submit
Compatible Formatting
Relaxed phone formatting avoids crashes when number is missing
Seamless Integration
Works with appointment and phone_validation modules
Usage
How it works:
- Install the module and refresh your website appointment page.
- The phone field is no longer required; submit without a phone if desired.
- On submit, the backend replaces empty phone with 'N/A' to keep flows stable.
Notes:
- Works with
appointment
andphone_validation
modules. - Only the phone field behavior is changed; other validations remain unchanged.
Before

After


Why Choose This Module?
The Appointment Phone Field Optional module streamlines booking by reducing friction while keeping server-side flows safe.
Key Benefits:
- Better UX: Fewer required fields for visitors
- Robust: Prevents formatting/validation errors for empty phone
- Non-intrusive: Does not alter other appointment logic
- Lightweight: Small JS tweak plus safe backend override
Contact Us
Support, customizations, and development
+92 305-9175085
https://www.linkedin.com/in/waqas-mustafa-ba5701209/
Our expertise
Odoo Development
Customization Services
Module Development
Support & Maintenance
Quality Solutions
Connect with us
Waqas Mustafa |ezcodesolution
Please log in to comment on this module