currently the delivery to shows in purchase order is warehouse ID only. how can I setting to the delivery to because to the warehouse address that I needed?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Projeto
- MRP
Esta pergunta foi sinalizada
Dear Kais
thanks for your great support. very details but seems my files is correct?

In the purchase order printout, Odoo uses the warehouse ID by default because the template is referencing picking_type_id.warehouse_id.name instead of the warehouse’s address fields.
To print the actual warehouse address, you need to edit the Purchase Order QWeb report:
Activate Developer Mode
Settings → Developer Mode
Go to
Settings → Technical → User Interface → Views
Search for:
report_purchaseorder_document
(or Purchase Order QWeb template)
Find the part showing:
<t t-esc="o.picking_type_id.warehouse_id"/>
or something similar displaying only the ID.
Replace it with the warehouse address fields, for example:
<div> <t t-esc="o.picking_type_id.warehouse_id.name"/><br/> <t t-esc="o.picking_type_id.warehouse_id.partner_id.street"/><br/> <t t-esc="o.picking_type_id.warehouse_id.partner_id.city"/> <t t-esc="o.picking_type_id.warehouse_id.partner_id.zip"/><br/> <t t-esc="o.picking_type_id.warehouse_id.partner_id.country_id.name"/> </div>
Odoo stores the warehouse address on the related partner record (warehouse_id.partner_id).
Save → Print the purchase order again.
Now the Delivery To section will show the full warehouse address instead of the ID.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
0
nov. 25
|
2 | ||
|
|
0
nov. 25
|
3 | ||
|
|
1
nov. 25
|
94 | ||
|
|
7
nov. 25
|
605 | ||
|
|
3
nov. 25
|
397 |