Skip to content
Extraits de code Groupes Projets
Valider 6cc8acb4 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] hide "Cancel Payment" button on payment orders

parent 82ce38e4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,6 +9,14 @@ ...@@ -9,6 +9,14 @@
<field name="model">account.payment.order</field> <field name="model">account.payment.order</field>
<field name="inherit_id" ref="account_payment_order.account_payment_order_form"/> <field name="inherit_id" ref="account_payment_order.account_payment_order_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//button[@name='action_cancel']" position="attributes">
<attribute name="groups">base.group_system,cgscop_patner.group_cg_administrator</attribute>
<attribute name="confirm">Confirmer l'annulation de l'ordre de prélèvement ?</attribute>
</xpath>
<xpath expr="//button[@name='action_done_cancel']" position="attributes">
<attribute name="groups">base.group_system,cgscop_patner.group_cg_administrator</attribute>
<attribute name="confirm">Confirmer l'annulation de l'ordre de prélèvement ?</attribute>
</xpath>
<xpath expr="//field[@name='bank_line_count']" position="after"> <xpath expr="//field[@name='bank_line_count']" position="after">
<field name="payment_line_amount"/> <field name="payment_line_amount"/>
<field name="bank_line_amount"/> <field name="bank_line_amount"/>
......
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