File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
hr_expense_analytic_tag/views Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<odoo >
33 <record id =" hr_expense_view_form" model =" ir.ui.view" >
4- <field name =" name" >hr.expense.view.form</field >
4+ <field name =" name" >hr.expense.view.form.analytic.tags </field >
55 <field name =" model" >hr.expense</field >
66 <field name =" inherit_id" ref =" hr_expense.hr_expense_view_form" />
77 <field name =" arch" type =" xml" >
1010 name =" analytic_tag_ids"
1111 groups =" account_analytic_tag.group_analytic_tags"
1212 widget =" many2many_tags"
13+ options =" {'color_field': 'color'}"
1314 />
1415 </field >
1516 </field >
1617 </record >
17-
18- <record id =" view_hr_expense_sheet_form" model =" ir.ui.view" >
19- <field name =" name" >hr.expense.sheet.form</field >
20- <field name =" model" >hr.expense.sheet</field >
21- <field name =" inherit_id" ref =" hr_expense.view_hr_expense_sheet_form" />
22- <field name =" arch" type =" xml" >
23- <xpath
24- expr =" //field[@name='expense_line_ids']/list/field[@name='analytic_distribution']"
25- position =" after"
26- >
27- <field
28- name =" analytic_tag_ids"
29- groups =" account_analytic_tag.group_analytic_tags"
30- widget =" many2many_tags"
31- optional =" hide"
32- />
33- </xpath >
34- </field >
35- </record >
3618</odoo >
You can’t perform that action at this time.
0 commit comments