Tryton - Issues

 

Message21916

Author guillemNaN
Recipients
Date 2015-07-16.10:15:18
Content
The Greater/Less Pyson statements have the limitation to only accept int/long/float fields (pyson.py#L316).
It should accept also Date and DateTime fields.

I found this limitation trying to put this pyson statement in a field context:
'stock_move_date': max(Eval('planned_date', Date()), Eval('effective_date', Date()))
History
Date User Action Args
2015-07-16 10:15:20guillemNaNsetmessageid: <1437034520.13.0.841702445036.issue4879@tryton.org>
2015-07-16 10:15:19guillemNaNlinkissue4879 messages
2015-07-16 10:15:18guillemNaNcreate

Showing 10 items. Show all history (warning: this could be VERY long)