Skip to Content
Menu
This question has been flagged
1 Reply
1058 Views

I want to get the vendor's (which is a parent company) address on the PO header.

Avatar
Discard
Author Best Answer

You can create a m2o field of type contacts ( name it Invoice Contact) and apply the domain on the field.

domain = "[& quot; & amp; & quot;, [& quot; type & quot;, & quot; = & quot;, & quot; invoice & quot;], [& quot; id & quot;, & quot; in & quot;, child_ids]]"


Now create a related field 
Invoice contact -> Contact address.


Avatar
Discard