[ADD] l10n_nl_reports_sbr: Send Tax Report to the Dutch gov
Add a new section in the settings dedicated for Dutch company settings. Used in the new Dutch SBR module (l10n_nl_reports_sbr). closes odoo/odoo#125965 X-original-commit: 049bf22be2edc62f0f85d895423b7d404716ba80 Related: odoo/enterprise#42942 Signed-off-by: Olivier Colson (oco) <oco@odoo.com> Signed-off-by: Pierre-Rodéric Roose (prro) <prro@odoo.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
'data': [
|
||||
'data/account_account_tag.xml',
|
||||
'data/account_tax_report_data.xml',
|
||||
'views/res_config_settings_view.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record model="ir.ui.view" id="res_config_settings_view_form">
|
||||
<field name="name">res.config.settings.view.form</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//app[@name='account']/block" position="after">
|
||||
<div id="dutch_localization_section" invisible="1">
|
||||
<block title="Dutch Localization" id="dutch_localization" attrs="{'invisible':[('country_code', '!=', 'NL')]}">
|
||||
</block>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user