[FIX] l10n_be_invoice_bba: inherit non existing view

The view 'res_config_settings_view_form' doesn't exist in the module
l10n_be, so as the field wer are referencing in the xpath is added in
module account, we inherit 'account.res_config_settings_view_form'
instead.
This commit is contained in:
Pierre Masereel
2018-09-11 17:56:59 +02:00
parent 0c67985023
commit a7aab13cc4
@@ -3,7 +3,7 @@
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.l10n_be_invoice_bba</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="l10n_be.res_config_settings_view_form"/>
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_reference_type']" position="after">
<field name="l10n_be_structured_comm" attrs="{'invisible': [('invoice_reference_type', '!=', 'structured')]}"/>