diff --git a/views/account_payment_order.xml b/views/account_payment_order.xml index cdff3e3ce9a1a6a53f1abce1c91a8bdbc2cb6203..5d7b7c4a1aae20f772f2251a1d9afc90c099f659 100644 --- a/views/account_payment_order.xml +++ b/views/account_payment_order.xml @@ -9,6 +9,14 @@ <field name="model">account.payment.order</field> <field name="inherit_id" ref="account_payment_order.account_payment_order_form"/> <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"> <field name="payment_line_amount"/> <field name="bank_line_amount"/>