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
- Comptabilité
- Inventaire
- PoS
- Projet
- MRP
Cette question a été signalée
1
Répondre
6872
Vues
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
déc. 25
|
255 | ||
|
|
1
sept. 25
|
1061 | ||
|
|
3
nov. 25
|
4048 | ||
|
invoice number prefix
Résolu
|
|
1
nov. 24
|
4071 | |
|
|
1
déc. 23
|
3651 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d