mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
* Backport from 10.0 to 9.0: import odoo to import openerp, <odoo> to <openerp>, bring back <data> if noupdate=1, rename __manifest__.py to __openerp__.py, downgrade version number to 9.0.1.0.0, and make module installable. * Re-add H.S.codes menu item under Sales-Product-Configuration. (it had been removed to remove the reference to product module, but I don't understand that decision since this module by nature depends on product module anyway) * Added module tests. * flake8 * Encoding lines at the beginning of python files
24 lines
853 B
XML
24 lines
853 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
© 2010-2016 Akretion (http://www.akretion.com/)
|
|
@author Alexis de Lattre <alexis.delattre@akretion.com>
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
-->
|
|
|
|
<openerp>
|
|
|
|
<!-- 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="list_price" position="after">
|
|
<field name="hs_code_id" attrs="{'invisible': [('type', '=', 'service')]}"/>
|
|
<field name="origin_country_id" attrs="{'invisible': [('type', '=', 'service')]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</openerp>
|