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:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
3034
Ansichten
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
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Feb. 16
|
3244 | ||
|
1
März 15
|
3883 | ||
|
1
Nov. 23
|
2048 | ||
|
2
Mai 23
|
7175 | ||
|
1
Sept. 22
|
3461 |