Reputation: 25
<record id="contract.res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings view form inherit</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="25"/>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='contacts_settings']" position="after">
<h2>Contracts</h2>
<div class="row mt16 o_settings_container" id="contracts_settings">
<div class="col-12 col-lg-6 o_setting_box" id="allow_unsigned_contract">
<div class="o_setting_left_pane">
<field name="allow_not_signed_contract"/>
</div>
<div class="o_setting_right_pane">
<label for="allow_not_signed_contract" />
<div class="text-muted">
If switched off, annexes creating is possible for signed contracts only.
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
Error messages odoo.tools.convert.ParseError: while parsing /usr/lib/python3/dist-packages/odoo/custom/contract_management_system/views/res_config_settings.xml:4, somewhere inside
what the cuase of this error? please help
Upvotes: 0
Views: 302
Reputation: 179
I think you should fix the name of your view.
res.config.settings view form inherit
try to change the space to dot (.) ex. res.config.settings.view.form.inherit
Upvotes: 0