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())) |