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
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
1
Vastaa
6056
Näkymät
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
3
helmik. 25
|
3055 | ||
invoice number prefix
Ratkaistu
|
|
1
marrask. 24
|
2862 | |
|
1
jouluk. 23
|
2706 | ||
|
1
huhtik. 21
|
7838 | ||
|
6
tammik. 24
|
15589 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d