How to access data from foreign models via foreign-key inside .xml-views ?
I want to access data from foreign models via foreign-key from inside .xml-views.
Concrete example: account.invoice.tree
account.invoice model "knows" partner_id as foreign key. I also want to display res.partner.cust_id inside account.invoice.tree. From inside .rml reports, I can simply do o.partner_id.cust_id and the field desired is displayed without needing to inherit the appropriate python class. Can this be achieved like that from within .xml view files and if yes, how?