Hello,
Here is my problem
In account.move form, there is an invisible field Type wich can take values (in_invoice, out_invoice,...)
In the one2many field invoie_line_ids, there is a column "analytic_account_id"
I need to change the domain of this column according i'm in an in_invoice type or out_invoice type.
I tried with a syntax like ('parent.type', '=', 'in_invoice') but it seems that parent can be used only on the right of the '='
How can i do that?