[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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user