Files
intrastat-extrastat/intrastat_product/views/hs_code.xml
João Marques f9c4f8b77f [MIG] intrastat_product: Migration to 14.0
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue #110

Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2023-03-06 10:11:07 +01:00

40 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2010-2020 Akretion (http://www.akretion.com/)
Copyright 2015-2020 Noviat (http://www.noviat.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
@author Luc De Meyer <luc.demeyer@noviat.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<!-- Add the H.S. code menu under the Intrastat Config menu -->
<menuitem
id="intrastat_code_menu"
action="product_harmonized_system.hs_code_action"
parent="intrastat_base.menu_intrastat_config_root"
sequence="10"
/>
<!-- Inherit tree view of H.S. code -->
<record id="hs_code_tree" model="ir.ui.view">
<field name="name">intrastat.hs.code.tree</field>
<field name="model">hs.code</field>
<field name="inherit_id" ref="product_harmonized_system.hs_code_view_tree" />
<field name="arch" type="xml">
<field name="local_code" position="after">
<field name="intrastat_unit_id" />
</field>
</field>
</record>
<!-- Inherit form view for H.S. code -->
<record id="hs_code_form" model="ir.ui.view">
<field name="name">intrastat.hs.code.form</field>
<field name="model">hs.code</field>
<field name="inherit_id" ref="product_harmonized_system.hs_code_view_form" />
<field name="arch" type="xml">
<field name="local_code" position="after">
<field name="intrastat_unit_id" />
</field>
</field>
</record>
</odoo>