Skip to Content
मेन्यू
This question has been flagged
1 Reply
6298 Views

In Delivery Orders I'm trying to display the loc_rack field next to each product name.

The Delivery Order has the Product_ID field, but how do I use that field and tell it "hey, give me the loc_rack field that is associated with that Product ID in a different module"?

Avatar
Discard
Best Answer

Have you made a custom module yet? That will need to be your first step if not.

What you will need to do is add a new field to Delivery Orders like so:

'del_loc_rack': fields.related('product_id', 'loc_rack', type='char', string="Rack Location")

Then add that to an .xml file that inherits the Delivery Order view, and place the field 'del_loc_rack'. Hope that helps!

Avatar
Discard
Related Posts Replies Views Activity
1
मार्च 25
797
0
अप्रैल 17
5021
3
मई 16
7727
3
जून 20
20489
2
सित॰ 18
3562