Files
intrastat-extrastat/product_harmonized_system/views/product_template.xml
Luc De Meyer 3713df54f0 [14.0]Intrastat Brexit support
[14.0]intrastat_product - Intrastat Brexit support

fix unit tests - keep product_origin_country_id on top of new product_origin_country_code to avoid breaking the localisation modules

[14.0]intrastat - improved brexit support

[14.0]improved brexit support - keep backwards compatibility with localisation modules

[14.0]brexit support - increase test coverage

[14.0]brexit support - DeprecationWarning

[14.0]brexit support - size=2 on product_origin_country_code
2022-06-16 09:29:37 +02:00

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2010-2019 Akretion France (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<!-- product.template form view -->
<record id="product_template_form_view" model="ir.ui.view">
<field name="name">hs_code.product.template.form</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view" />
<field name="arch" type="xml">
<field name="company_id" position="before">
<field
name="hs_code_id"
attrs="{'invisible': [('type', '=', 'service')]}"
/>
<field
name="origin_country_id"
attrs="{'invisible': [('type', '=', 'service')]}"
/>
<field
name="origin_state_id"
attrs="{'invisible': [('type', '=', 'service')]}"
/>
</field>
</field>
</record>
</odoo>