[FIX] sale: Traceback on clearing quotation date in sale order form
before this commit, in sale order form view, while clearing the quotation date it was showing Traceback error. field is already required in the model level, so removing the conditional required attribute from the view after this commit, the quotation date is required closes odoo/odoo#111066 X-original-commit: f8db67897c1b533a591eaf48ae18b625b1dd4d33 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
committed by
Victor Feyens
parent
e084b5dcf9
commit
418c46be03
@@ -263,7 +263,7 @@
|
||||
<div class="o_td_label" attrs="{'invisible': [('state', 'in', ['draft', 'sent'])]}">
|
||||
<label for="date_order" string="Order Date"/>
|
||||
</div>
|
||||
<field name="date_order" attrs="{'required': [('state', 'in', ['sale', 'done'])], 'invisible': [('state', 'in', ['draft', 'sent'])]}" nolabel="1"/>
|
||||
<field name="date_order" attrs="{'invisible': [('state', 'in', ['draft', 'sent'])]}" nolabel="1"/>
|
||||
<field name="has_active_pricelist" invisible="1"/>
|
||||
<field name="show_update_pricelist" invisible="1"/>
|
||||
<label for="pricelist_id"
|
||||
|
||||
Reference in New Issue
Block a user