Skip to Content
Menu
This question has been flagged
2 Replies
671 Views

Hello,

At form DELIVERY (model stock.picking) I created with Studio a text field named CONTAINER to add information of the container in which we are receiving the material. I´d like this field to be shown at SALES ORDER overview list (model sale.order), however I don´t see how to do it, since it is not at "existing fields", "related fields", "one to many"... 

Can anyone help? Thanks,


Avatar
Discard
Best Answer

Hello Mireia

There is picking_ids field in sale order(sale.order) model. you can create new text  and compute based on picking_ids.x_studio_container field of develiery order

please have a look following screenshot for mode details.




Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015

Avatar
Discard

for record in self:
record['x_studio_delivery_container'] = ",".join(record.picking_ids.mapped('x_studio_container'))

Author

Hello, can you pls help? Why the content of the field is not shown?

Author Best Answer

Hello, thank you for your quick answer! The field is created and I could add it to Sales > Quotations list, however, the content of the field is not shown... Why?



Avatar
Discard