Let us look at pyson expresson:

If(~Eval('end_date', None)

What is ~? Experimenting with Python interpreter, ~True is -2 and ~False is 
-1. I thought ~ is for negation, but -1 and -2 are not boolean values even 
in C they are 0 or >0.

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/b0d6996a-a6da-48c2-8d80-ec1f3f3c8511%40googlegroups.com.

Reply via email to