[FIX] l10n_in: remove required

- Purpose of this task is to remove required attribute on HSN field because that is not more required.
- before applied this commit if set up an indian company, we have an error if we edit a product because of HSN field is required.

Related Task: 1948171

closes odoo/odoo#32077

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Jinal Patel
2019-04-19 05:19:51 +00:00
parent bd4edfd5f1
commit ba80cc63a7
@@ -7,7 +7,7 @@
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<field name="categ_id" position="after">
<field name="l10n_in_hsn_code" attrs="{'required': ['|', ('l10n_in_hsn_description','=', ''), ('l10n_in_hsn_description','=', False)]}"/>
<field name="l10n_in_hsn_code"/>
<field name="l10n_in_hsn_description"/>
</field>
</field>