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.
When adding a Belgian province to the address of a contact, on the invoice it will be shown as a code between the city and the zip code. This looks a bit strange and confusing to the customer, how can I prevent this code from being displayed?
It's a little bit late, but it can be helpful for another person.
You can hide this field with an inherit on the XML view like that :
<record id="view_partner_form_inherit" model="ir.ui.view"> <field name="name">res.partner.form.inherit</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partner_form"/> <field eval="1" name="priority"/> <field name="arch" type="xml"> <xpath expr="//field[@name='state_id']" position="attributes"> <attribute name="invisible">True</attribute> </xpath> </field> </record>
It's working on the V7.
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: 5/30/13, 9:51 AM|
|Seen: 2455 times|
|Last updated: 3/16/15, 8:10 AM|