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
- Contabilidad
- Inventario
- PoS
- Proyecto
- MRP
Se marcó esta pregunta
1
Responder
6882
Vistas
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
dic 25
|
352 | ||
|
|
1
sept 25
|
1080 | ||
|
|
3
nov 25
|
4078 | ||
|
invoice number prefix
Resuelto
|
|
1
nov 24
|
4097 | |
|
|
1
dic 23
|
3681 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d