In order to solve issue 1572 [0], we propose to create a new PYSON
statement For.

Syntax is: For(key, obj)
 key: string or integer or long
 obj: list ou dictionary or Eval
Returns a list

So, in purchase/purchase.xml, act_shipment_form's domain
[("id", "in", Eval('shipments'))]
would become
[("id", "in", For('id', Eval('shipments')))]

Please review server [1] and client [2] patch sets.

[0] : https://bugs.tryton.org/roundup/issue1572
[1] : http://codereview.appspot.com/1264041/show
[2] : http://codereview.appspot.com/1264043/show

-- 
[email protected] mailing list

Reply via email to