On Viernes 02 Marzo 2012 15:01:32 Cédric Krier escribió:
> On 02/03/12 14:16 -0300, Felipe Alvarez Harnecker wrote:
> > Tried this
> >
> > taxes = fields.Many2Many('account.invoice.line-account.tax',
> >
> > 'line', 'tax', 'Taxes', domain=[('parent', '=', False)],
> > states={
> >
> > 'invisible':
> > Equal(Eval('_parent_invoice.type'),'out_invoice_no_vat'),
>
> 'invisible': Eval('_parent_invoice', {}).get('type') ==
> 'out_invoice_no_vat'
>
> > },
> >
> > depends=['type','_parent_invoice'])
> >
> > and all imaginable permutation that you can think and doesn't work
GREEEEEEEEEEEEEEEEEEAAAAAAAAAAAAAAAAAT!!!!!!!!!!!!!!!!!
thank you very much.
--
Felipe Alvarez Harnecker
[email protected] - 9.874.60.17
--
[email protected] mailing list