[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user