[FIX] account: show settings with full accounting
When all accounting features are enabled manually (it should only be enabled through the installation of the Accounting app), trying to display the settings of Invoicing will raise an error. This is because the `block` with `id` `accounting_reports` should be displayed but has no content. opw-3257708 closes odoo/odoo#123431 X-original-commit: 74fa5d5418e14e35dec68caa3c5de875c12bd4ce Signed-off-by: John Laterre (jol) <jol@odoo.com>
This commit is contained in:
@@ -307,7 +307,7 @@
|
||||
<t groups="account.group_account_user">
|
||||
<block title="Fiscal Periods" id="accounting_reports">
|
||||
<setting id="fiscalyear" invisible="1" groups="account.group_account_user"/>
|
||||
<setting id="dynamic_report" invisible="1" groups="account.group_account_user" help="Navigate easily through reports and see what is behind the numbers">
|
||||
<setting id="dynamic_report" groups="account.group_account_user" help="Navigate easily through reports and see what is behind the numbers">
|
||||
<field name="module_account_reports" widget="upgrade_boolean"/>
|
||||
</setting>
|
||||
</block>
|
||||
|
||||
Reference in New Issue
Block a user