Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6059 Переглядів

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. 

Аватар
Відмінити

Look how inheritance work in odoo: https://goo.gl/4Zyc9d

Найкраща відповідь

Inherit the view and use xpath with attributes tag

Eg:

<xpath expr="//field[@name='account_id']" position="attributes">

     <attribute name="invisible">False</attribute>

</xpath>

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
лют. 25
3056
invoice number prefix Вирішено
1
лист. 24
2862
1
груд. 23
2707
1
квіт. 21
7838
6
січ. 24
15590