Hi Sergi,

2015-07-22 10:32 GMT+02:00 Sergi Almacellas Abellana <[email protected]>:

> 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']),
>  }
>

What is the utility of the void string param in the get method?


>
> 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
>



-- 

Jesús Martín

Zikzakmedia SL
C/ de Sant Jaume, 9, baixos, 2ª
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to