Hello,
I would like to solve following problem:
I have 2 warehouses(WH1 and WH2) and to 2 receipts operations in inventory (Mycompany : Receipts WH1 and MyCompnay: receipts WH2).
When Procurement team generates new PO, I would like to have an option which warehouse should receive it.
I found the dropship option which doesn't solve the problem completely since we have to choose from the all contacts.
Instead I want to have a address of chosen warehouse under the shipping address on the PO.
Can you please give me any hint how to solve it?
My gut tells I have to look around "default_location_dest_id" variable.
Thanks in advance
BR/
N
------------------------------------------------------
Update:
To sort out my problem, based on the hint given by @Waleed Mohsen, I modified report_purchaseorder_document following way
#This part was here
<t t-if="o.dest_address_id">
<t t-set="information_block">
<strong>Shipping address:</strong>
<div t-if="o.dest_address_id">
<div t-field="o.dest_address_id" t-options="{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}" name="purchase_shipping_address"/>
</div>
</t>
</t>
#I added else so then it is not customer address then use the warehouse address:
<t t-else="">
<t t-set="information_block">
<strong>Shipping address:</strong>
<div t-field="o.picking_type_id.warehouse_id.partner_id" t-options="{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}"/>
</t>
</t>