HI,

i' ve extended InvoiceLine


class InvoiceLine(ModelSQL, ModelView):
    _name = 'account.invoice.line'

    report = fields.Many2One('ql_maquinaria.report', 'Report', readonly=True)

InvoiceLine()



and class 'ql_maquinaria.report' have 

    faena = fields.Many2One('ql_maquinaria.faena', 'Faena', required=True, 
domain=[('cliente','=',Eval('cliente'))], states=_STATES, depends=_DEPENDS)


the thing is that i want to search (filter in client)  invoices lines by faena, 
is there a strait 
forward way to do this without adding the faena value to class InvoiceLine ??

I've looked at fields.Reference, fields.Function, fields.Property but i really 
don't get how to do this 
the easy way.

thnx.


-- 
Felipe Alvarez Harnecker
[email protected] - 9.874.60.17

-- 
[email protected] mailing list

Reply via email to