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
- Buchhaltung
- Lager
- PoS
- Projekte
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
6886
Ansichten
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
1
Dez. 25
|
369 | ||
|
|
1
Sept. 25
|
1087 | ||
|
|
3
Nov. 25
|
4081 | ||
|
invoice number prefix
Gelöst
|
|
1
Nov. 24
|
4098 | |
|
|
1
Dez. 23
|
3685 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d