| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 85 |
| Technical Name |
dynamic_vat_label_partner |
| License | LGPL-3 |
| Website | https://github.com/mahmoudmagdy146 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 85 |
| Technical Name |
dynamic_vat_label_partner |
| License | LGPL-3 |
| Website | https://github.com/mahmoudmagdy146 |
Smart Tax ID Labels for Odoo
Automatically display the correct ID field (Tax ID, National ID, Passport) based on partner type â no confusion, no mistakes.
The Problem
Odoo uses a single "VAT" field for all partners, which can be confusing when dealing with Business, Natural Persons, or foreign contacts. This often leads to incorrect data entry and user mistakes.
The Solution
This module dynamically updates the VAT field label and placeholder based on the partner type, ensuring users always know what information to enter.
Before vs After
See how the VAT field dynamically adapts based on partner type.
Before
After - Business
After - Natural Person
After - Foreigner
Key Features
- Automatic label switching based on partner type
- Supports Business, Natural Person, and Foreigner contacts
- Real-time UI update (no page reload required)
- Clean and lightweight OWL implementation
- No backend changes â safe and fast
How It Works
| Partner Type | Displayed Label | Placeholder |
|---|---|---|
| Business | Tax ID | VAT / Registration Number |
| Natural Person | National ID | National ID |
| Foreigner | Passport ID | Passport ID |
Usage
- Install the module
- Go to Contacts
- Create or edit a partner
- Change the partner type
- The VAT field updates instantly
Why Choose This Module?
- Improves data accuracy
- Reduces user confusion
- Enhances user experience
- Plug & play â no configuration required
Support
Need customization or help? Feel free to contact:
Mahmoud Magdy
Please log in to comment on this module