mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] sale_payment_web: add ACL for account.payment, don't show view if not in group.
This commit is contained in:
committed by
Cedric Collins
parent
6f3709f7ea
commit
ef91090a81
@@ -5,6 +5,7 @@
|
||||
<field name="name">sale.order.form.inherit</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="groups_id" eval="[(4, ref('group_payment_web'))]"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='action_draft']" position="after">
|
||||
<button name="action_payment_register" type="object" string="Register Payment"/>
|
||||
|
||||
Reference in New Issue
Block a user