[FIX] purchase: Purchase invoices stat button group on partner form
The group applied on the purchase invoices stat button was "Accountant", while "Invoicing & payments" is enough. That way, the customer and purchase invoices stat buttons have the same group applied, which makes sense. opw-646748
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form" />
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="groups_id" eval="[(4, ref('account.group_account_user'))]"/>
|
||||
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='buttons']" position="inside">
|
||||
<button class="oe_inline oe_stat_button" name="%(purchase.act_res_partner_2_supplier_invoices)d" type="action"
|
||||
|
||||
Reference in New Issue
Block a user