Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, i work on Openerp7.
i want to make zip code and city obligatory on res.partner.form in a custom module.
I've tried to inherit XLM view and put this fields as required. It seems ok but according the country of the company, class format_address() in base.res_partner.py modify the view and then zip code and city are no longer required even if i inherit format_adress() class and put in code for example :
<field name="zip" required="1" placeholder="ZIP mandatory" />
required="1" seems don't work...
How can I do ?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/12/13, 1:49 PM|
|Seen: 1826 times|
|Last updated: 3/16/15, 8:10 AM|