The origin of goods is required for the commercial invoice generation with delivery providers. Until then we were using the warehouse country, but the origin of goods is a different kind of field, as explained in this link: [https://ec.europa.eu/taxation_customs/customs-4/international-affairs/origin-goods_en]( https://ec.europa.eu/taxation_customs/customs-4/international-affairs/origin-goods_en) This commit is part of more important upcoming changes brought in Odoo enterprise, especially with Fedex, Easypost, DHL and UPS commercial invoices. task-2701428 closes odoo/odoo#80900 Signed-off-by: Arnold Moyaux <arm@odoo.com>
17 lines
533 B
XML
17 lines
533 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"/>
|
|
<field name="country_of_origin"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|