Files
odoo_source/addons/delivery/views/product_template_view.xml
T
Arnold Moyaux 1c28ba8c47 [REF] delivery: hs code back in delivery
hs code was dropped in 12.0 however it shouldn't have been (commit 2d738f8563). commit 498dbc548b created 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
2018-11-30 06:10:21 +00:00

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>