Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6065 Weergaven

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. 

Avatar
Annuleer

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

Beste antwoord

Inherit the view and use xpath with attributes tag

Eg:

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

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

</xpath>

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
feb. 25
3057
1
nov. 24
2862
1
dec. 23
2708
1
apr. 21
7838
6
jan. 24
15590