[FIX] account: allow to edit some fields with Invoicing only

The only fields added in
`//page[@name='invoicing']//group[@name='accounting']`
are `unspsc_code_id`, `intrastat_id` and `email_template_id`, which
should all be available with only the rights for invoicing.

opw-2665030

closes odoo/odoo#78260

X-original-commit: 1f69445f0a7ed02030f3f16f126e34b0d507ed80
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
william-andre
2021-10-12 18:11:56 +00:00
parent d919b96b7a
commit b57b884430
+3 -3
View File
@@ -55,8 +55,8 @@
<attribute name="invisible">0</attribute>
</xpath>
<page name="inventory" position="after">
<page string="Accounting" name="invoicing" groups="account.group_account_readonly">
<group name="properties">
<page string="Accounting" name="invoicing" groups="account.group_account_readonly,account.group_account_invoice">
<group name="properties" groups="account.group_account_readonly">
<group string="Receivables">
<field name="property_account_income_id"
groups="account.group_account_readonly"/>
@@ -66,7 +66,7 @@
groups="account.group_account_readonly"/>
</group>
</group>
<group name="accounting"/>
<group name="accounting" groups="account.group_account_readonly,account.group_account_invoice"/>
</page>
</page>
<xpath expr="//div[@name='pricing']" position="after">