Hi,

I had an inherit model ShipmentIn. Adding new field "order_confirm". The 
purpose when the order confirmed, other fields will be readonly.

How I am going to modify other fields base on the "order_confirm"?

Example:
Original :
company = fields.Many2One(.., states ={'readonly': Eval('state') != 
'draft'})

Expected:
company = fields.Many2One(..., states = {'readonly': Eval('state') != 
'draft' | Eval('order_confirm') }

Please help

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/2067b35a-e859-4c69-add3-6385eb8a7eb3%40googlegroups.com.

Reply via email to