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

Hello All,

I've been trying to use the "Related Field" drag n drop function in studio to call a field entered in Purchase Order into Sales Order.... 

We have Drop ship setting turned on, so for every Sales Order confirmed, the system generates a Purchase Order.

When entering Sales Order, user have to enter a customised field called "Customer PO", this is a reference number we use to communicate with our customers and vendors. 

My goal is for Odoo to reflect the "Customer PO" entered in Sales Order into Purchase Order. 

This is what's entered in related fields: partner_id.sale_order_ids.x_studio_customer_po

Hopefully one of you brilliant minds can help me out!



Avatar
Discard
Author

For anyone facing the same problem, please check out this video! The issue is how the "related field" is pathed. If the pathing is wrong but still leads to the field you are looking to connect, then it wont work. As for how to determine which pathing is right/wrong, I'm not sure....

As far as I can tell, if you are trying to use related field between Sales Order and Purchase Order, you need try pathing it through "Procurement".

Credits to the genius architect that made the video below.

https://youtu.be/B4NQlhafVhk

Best Answer

I don't think it's possible in Odoo Studio because there isn't a direct link from PO to SO.  It would be very useful (in both directions). 

Avatar
Discard