mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!--
|
|
© 2010-2017 Akretion (http://www.akretion.com/)
|
|
© 2015-2017 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>
|