Skip to content
Extraits de code Groupes Projets
Valider a5e9e066 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

Force domain on parent_id

parent 0b7d0c34
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -41,7 +41,9 @@ ...@@ -41,7 +41,9 @@
<label for="parent_id" string="Société" attrs="{'invisible': ['|', '&amp;', ('is_company','=', True),('parent_id', '=', False),('company_name', '!=', False),('company_name', '!=', '')]}"/> <label for="parent_id" string="Société" attrs="{'invisible': ['|', '&amp;', ('is_company','=', True),('parent_id', '=', False),('company_name', '!=', False),('company_name', '!=', '')]}"/>
</field> </field>
<field name="parent_id" position="attributes"> <field name="parent_id" position="attributes">
<attribute name="options" >{'no_create': True}</attribute> <attribute name="options">{'no_open': True, 'no_create': True}</attribute>
<attribute name="domain">[('is_company', '=', True)]</attribute>
<attribute name="placeholder">Société</attribute>
</field> </field>
<xpath expr="//div[hasclass('oe_title')]" position="attributes"> <xpath expr="//div[hasclass('oe_title')]" position="attributes">
<attribute name="class">oe_title oe_title_cgscop</attribute> <attribute name="class">oe_title oe_title_cgscop</attribute>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter