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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
3023
Görünümler
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Şub 16
|
3243 | ||
|
1
Mar 15
|
3880 | ||
|
1
Kas 23
|
2048 | ||
|
2
May 23
|
7173 | ||
|
1
Eyl 22
|
3456 |