2015-03-18 14:00 GMT+01:00 jmartin <[email protected]>:

> <field name="domain">[('origin','=', 'account.statement,%s' %
> Eval('active_id'))]</field>


For reference field, you can use a fourth parameter in a domain with the
model name to match against :

<field name="domain">[('origin.id','=', Eval('active_id'),
'account.statement')]</field>


Jean Cavallo
*Coopengo*

Reply via email to