I have a custom module that adds features to the invoices, but I want to take an account models field and remove its invisible attribute. I know how to do this from developer mode, but I would like to enforce it with my invoicing module.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
6063
Views
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
फ़र॰ 25
|
3057 | ||
invoice number prefix
Solved
|
|
1
नव॰ 24
|
2862 | |
|
1
दिस॰ 23
|
2708 | ||
|
1
अप्रैल 21
|
7838 | ||
|
6
जन॰ 24
|
15590 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d