Merge branch 'fix/13.0/sale_payment_web__permissions' into '13.0'

fix/13.0/sale_payment_web__permissions into 13.0

See merge request hibou-io/hibou-odoo/suite!811
This commit is contained in:
Jared Kipe
2021-03-01 22:15:29 +00:00
2 changed files with 2 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_payment_method,account.payment.method,account.model_account_payment_method,group_payment_web,1,0,0,0
access_payment,account.payment,account.model_account_payment,group_payment_web,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_payment_method account.payment.method account.model_account_payment_method group_payment_web 1 0 0 0
3 access_payment account.payment account.model_account_payment group_payment_web 1 1 1 1

View File

@@ -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"/>