[MIG] hr_expense_analytic_account_preselect_with_projec: migrate to 18.0

This commit is contained in:
Stéphan Sainléger
2026-05-05 17:26:12 +02:00
parent 69bc951b3e
commit ca1a5981b2
7 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record
id="hr_expense_view_form_analytic_account_preselect_with_project"
model="ir.ui.view"
>
<field
name="name"
>hr.expense.view.form.analytic.account.preselect.with.project</field>
<field name="model">hr.expense</field>
<field name="inherit_id" ref="hr_expense.hr_expense_view_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='analytic_distribution']" position="before">
<field name="project_id" />
</xpath>
</field>
</record>
</odoo>