[FIX] sale: pricelist required attribute issue

before this commit, when try to create a sale order without inputting pricelist field it was showing exception like "The operation cannot be completed:
- Create/update: a mandatory field is not set."

after this commit, user cannot save the record without filling pricelist field

closes odoo/odoo#111209

X-original-commit: 5ff011912e7dac8177d4a03ff51534e29fa4ddb4
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
mehjabinfarsana
2023-01-27 14:03:37 +01:00
parent c87a9ecd92
commit ecf083d0a4
+1 -1
View File
@@ -283,7 +283,7 @@
<field name="country_code" invisible="1"/>
<field name="company_id" invisible="1"/>
<field name="currency_id" invisible="1"/>
<field name="pricelist_id" invisible="1"/>
<field name="pricelist_id" invisible="1" groups="!product.group_product_pricelist"/>
<field name="tax_country_id" invisible="1"/>
<field name="payment_term_id" options="{'no_open':True,'no_create': True}"/>
</group>