[NEW] hr_expense_analytic_account_preselect_with_project: new module

This commit is contained in:
clementthomas
2023-06-22 14:28:18 +02:00
parent 81010e0145
commit 0e80defb81
7 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?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_account_id']" position="before">
<field name="project_id" />
</xpath>
</field>
</record>
</odoo>