Skip to content
Extraits de code Groupes Projets
Valider 353cece9 rédigé par jordan's avatar jordan
Parcourir les fichiers

[update] adapt invoice voc for cotiz

parent 24494d2e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -12,14 +12,28 @@
<field name="user_id" position="after">
<field name="partner_ur_id" readonly="1" groups="base.group_no_one"/>
<field name="is_contribution" readonly="1" groups="base.group_no_one"/>
<field name="year" readonly="1" attrs="{'invisible': [('is_contribution', '!=', True)]}"/>
<field name="year" readonly="1"/>
</field>
<xpath expr="//sheet/group[last()]" position="after">
<group name="cotisations" string="Cotisations" attrs="{'invisible': [('is_contribution', '!=', True)]}">
<group name="cotisations" string="Cotisations">
<field name="liasse_fiscale_id" readonly="1"/>
</group>
</xpath>
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="string">Adhérent</attribute>
</xpath>
<xpath expr="//field[@name='date_invoice']" position="attributes">
<attribute name="string">Date de cotisation</attribute>
</xpath>
<xpath expr="//field[@name='user_id']" position="attributes">
<attribute name="invisible">True</attribute>
</xpath>
<xpath expr="//field[@name='team_id']" position="attributes">
<attribute name="invisible">True</attribute>
</xpath>
</field>
</record>
......@@ -31,6 +45,12 @@
<field name="inherit_id" ref="account.invoice_tree_with_onboarding"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="string">Adhérent</attribute>
</xpath>
<xpath expr="//field[@name='date_invoice']" position="attributes">
<attribute name="string">Date de cotisation</attribute>
</xpath>
<xpath expr="//field[@name='user_id']" position="attributes">
<attribute name="invisible">True</attribute>
</xpath>
......
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