summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinal Patel <jip@odoo.com>2019-04-11 05:12:31 +0000
committerJinal Patel <jip@odoo.com>2019-04-19 05:19:51 +0000
commitba80cc63a76d4d162cf0fe9b94eeb4ea9209515f (patch)
tree5e1605ec98a4de81217f62c9b13d70b4ee7894a5
parentbd4edfd5f1e7741dd5cfc0da831feacebfcf1182 (diff)
[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>
-rw-r--r--addons/l10n_in/views/product_template_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_in/views/product_template_view.xml b/addons/l10n_in/views/product_template_view.xml
index 3f2b1584544..7e632ee8c87 100644
--- a/addons/l10n_in/views/product_template_view.xml
+++ b/addons/l10n_in/views/product_template_view.xml
@@ -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>