Skip to content

Commit

Permalink
[ADD] l10n_eu_oss_oca: added Oss Country in tax form
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Jun 14, 2024
1 parent bec5553 commit d1e71f9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions l10n_eu_oss_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"wizard/l10n_eu_oss_wizard.xml",
"views/res_config_settings.xml",
"views/account_fiscal_position_views.xml",
"views/account_tax_view.xml",
],
}
18 changes: 18 additions & 0 deletions l10n_eu_oss_oca/views/account_tax_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record id="account_tax_form_l10n_eu_oss_oca_view" model="ir.ui.view">
<field name="name">account.tax.form.l10n.eu.oss.oca.view</field>
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_form" />
<field name="arch" type="xml">
<xpath
expr="//page[@name='advanced_options']//field[@name='country_id']"
position="after"
>
<field name="oss_country_id" />
</xpath>
</field>
</record>

</odoo>

0 comments on commit d1e71f9

Please sign in to comment.