Skip to Content
Menú
This question has been flagged
1 Respondre
3393 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de febr. 16
3572
1
de març 15
4239
1
de nov. 23
2405
2
de maig 23
7750
1
de set. 22
3862