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:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Проект
- MRP
Це запитання позначене
1
Відповісти
6874
Переглядів
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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
1
груд. 25
|
256 | ||
|
|
1
вер. 25
|
1063 | ||
|
|
3
лист. 25
|
4049 | ||
|
invoice number prefix
Вирішено
|
|
1
лист. 24
|
4072 | |
|
|
1
груд. 23
|
3653 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d