I am added a domain for a many2one field like shown below:
<field name="my_field" domain="[('field1_date','<',date1)]" />
where my_filed is a many2one field with reference class class_ref, field1_date is a datetime field in reference class (class_ref) and date1 is date field in current class. I am getting the following error:
"Unescaped '<' not allowed in attributes values"
Please help me with a solution.
Thanks in advance.
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: 10/15/14, 7:25 AM|
|Seen: 1470 times|
|Last updated: 3/16/15, 8:10 AM|