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