Hi all,
I am trying to add a field on hr_expense_view_form from my custom module. When I try to install the module I get:
odoo.tools.convert.ParseError: while parsing file:/c:/program%20files/odoo%2016.0.20230223/server/odoo/addons/vat_mileage/views/hr_expense_views.xml:4, somewhere inside hr.expense.view.form.inherited hr.expense
Thank you for your post!
Can't see anything different, here is what I have
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="hr_expense_view_form" model="ir.ui.view">
<field name="model">hr.expense</field>
<field name="inherit_id" ref="hr_expense.hr_expense_view_form"/>
<field name="inherit_id" ref="hr_expense.view_form"/>
<field name="priority" eval="16"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='total_amount']" position="after">
<field name="total_price_divided_by_6"/>
</xpath>
</field>
</record>
</odoo>