Hi,
I'm trying to apply some domains restrictions in a view, and i'm getting
a SAXParseException.
The code is:
<record model="ir.action.act_window"
id="act_patient_lab_detail_form1">
<field name="name">Lab Details</field>
<field name="res_model">gnuhealth.lab</field>
<field name="domain">[('patient', '=', Eval('patient')),
('test', '=' , Eval('laboratory')), ('date_analysis', '>=',
Eval('start_date')), ('date_analysis', '<=', Eval('end_date'))]</field>
</record>
The problem is in the last restriction, the '<=' operator. If i change it
to '=' or '<=' .. it works as expected. I checked the documentation [1] but
it is supposed to work.
Any help is appreciated,
Angel
PS: i'm using tryton 2.4 because i'm using GNUHealth.
[1]: http://doc.tryton.org/2.4/trytond/doc/topics/domain.html#id5
--
--
[email protected] mailing list
---
You received this message because you are subscribed to the Google Groups
"tryton" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.