Hello Guys:
Please, i have a problem with context defined in xml view.
Need Help please and thanks a lot in advance :)
Here is my code:
<field name="domain">[('mail_validated','=',False),'|',(('mail_removed','=',False),('mail_duree','<=',15))]</field>
And Here is what i get :
AssertionError: This domain is syntactically not correct: [[u'mail_validated', u'=', False], u'|', [[u'mail_removed', u'=', False], [u'mail_duree', u'<=', 15]]]
<field name="domain">['|', '|', ('mail_validated','=',False),(('mail_removed','=',False),('mail_duree','<=',15))]</field>
it doesnt work :/ the same error
AssertionError: This domain is syntactically not correct: [u'|', u'|', [u'mail_validated', u'=', False], [[u'mail_removed', u'=', False], [u'mail_duree', u'<=', 15]]]