Default value from context parsed too late
Bug #1203617 reported by
Yannick Gouin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Hi,
- We a basic action with a context { 'default_supplier': 1 } in order to create a "Supplier"
- In the form, the field "phone" is required for "Suppliers" : <field name="phone" attrs="{'required': [('supplier'
The problem is that the field "phone" is not set as required (since I guess the default value from the action context are not computed yet). While if you untick the checkbox "Supplier" and tick it again, then the "phone" get required.
Is there any way to fix this ?
Thanks,
Yannick
Changed in openerp-web: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
To post a comment you must log in.