Hi,I want to add some fields on invoice_lines_tree, that are only relevant for supplier invoices (and supplier credit notes), so I added the following states on the field:
{
'invisible': ~Eval('context', {}).get('type','').in_(
['in_invoice','in_credit_note']),
}
But this fields are showin also on customer invoices.
What I am doing anything wrong?
Have anyone faced the same problem? There is some way to achieve what I
want?
-- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk
