i wish to create a view where data is filtered on a datetime field which is null
so in domain statement, i enter :
but i have to enter the third parameter after 'ISNULL', ! openerp does not let me pass 2 values only. what can i do ? i also tried Code: domain="[('mydatetime','=,'NULL')]
but it produced an error in sql (generate "mydatetime='NULL' whic cause a type error in sql)
so, what is the right syntaxe for null in the domain clause ?
thank for help
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/4/13, 11:40 AM|
|Seen: 8797 times|
|Last updated: 6/16/16, 10:13 AM|