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

In the Sales Order Tree View, I want to see the status of its related picking. However, this state is represented by the "state" field of "stock.picking" model while Sales Order Tree View works with "sale.order" model. How can I call  the "state" field from "stock.picking" to  Sales Order View?

Avatar
Discard
Best Answer

Hi,

The field named picking_ids in the model sale.order will give the ids of the related stock pickings of the sale.  This is a Many2many field and it may have multiple values in it.

Based on this you can assign the state of the picking ids to a new field and display it in tree view

Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
फ़र॰ 16
3593
1
मार्च 15
4255
1
नव॰ 23
2425
2
मई 23
7770
1
सित॰ 22
3881