hs code was dropped in 12.0 however it shouldn't have been (commit2d738f8563). commit498dbc548bcreated a new module in order to avoid losing hscode for existing database during migration. This commit set it back as before. closes odoo/odoo#29167
16 lines
487 B
XML
16 lines
487 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="product_template_hs_code">
|
|
<field name="name">product.template.form.hs_code</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='group_lots_and_weight']" position="inside">
|
|
<field name="hs_code"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|