File tree 2 files changed +46
-0
lines changed
2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 18
18
"wizard/l10n_eu_oss_wizard.xml" ,
19
19
"views/res_config_settings.xml" ,
20
20
"views/account_fiscal_position_views.xml" ,
21
+ "views/account_tax_view.xml" ,
21
22
],
22
23
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <odoo >
3
+
4
+ <record id =" account_tax_form_l10n_eu_oss_oca_view" model =" ir.ui.view" >
5
+ <field name =" name" >account.tax.form.l10n.eu.oss.oca.view</field >
6
+ <field name =" model" >account.tax</field >
7
+ <field name =" inherit_id" ref =" account.view_tax_form" />
8
+ <field name =" arch" type =" xml" >
9
+ <xpath
10
+ expr =" //page[@name='advanced_options']//field[@name='country_id']"
11
+ position =" after"
12
+ >
13
+ <field name =" oss_country_id" />
14
+ </xpath >
15
+ </field >
16
+ </record >
17
+
18
+ <record id =" account_tax_tree_l10n_eu_oss_oca_view" model =" ir.ui.view" >
19
+ <field name =" name" >account.tax.tree.l10n.eu.oss.oca.view</field >
20
+ <field name =" model" >account.tax</field >
21
+ <field name =" inherit_id" ref =" account.view_tax_tree" />
22
+ <field name =" arch" type =" xml" >
23
+ <xpath expr =" //tree/field[@name='country_id']" position =" after" >
24
+ <field name =" oss_country_id" optional =" hide" />
25
+ </xpath >
26
+ </field >
27
+ </record >
28
+
29
+ <record id =" account_tax_search_l10n_eu_oss_oca_view" model =" ir.ui.view" >
30
+ <field name =" name" >account.tax.search.l10n.eu.oss.oca.view</field >
31
+ <field name =" model" >account.tax</field >
32
+ <field name =" inherit_id" ref =" account.view_account_tax_search" />
33
+ <field name =" arch" type =" xml" >
34
+ <xpath expr =" //group/filter[@name='company']" position =" after" >
35
+ <filter
36
+ string =" Oss Country"
37
+ name =" oss_country"
38
+ domain =" []"
39
+ context =" {'group_by':'oss_country_id'}"
40
+ />
41
+ </xpath >
42
+ </field >
43
+ </record >
44
+
45
+ </odoo >
You can’t perform that action at this time.
0 commit comments