Hi

  Is there any way to access the values of Transaction().context from a
pyson domain?

  For example, in the same class:

Works fine:

def default_fieldx(self):

 return Transaction().context.get('fieldx')


Don't work:

fieldy = fields.Many2One(model, 'Field Y',
    domain=[('fieldx', '=', Get(Eval('context', {}), 'fieldx'))])

  Thanks

Sebastián Marró
Thymbra

-- 
[email protected] mailing list

Reply via email to