Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
7993 Zobrazení

Hi there,

This question was asked several times before, but I've not managed to find an answer for version 12.3. I'm using modules Purchasing, Invoice, Sales

Set-up: subsidiary company sells to end-customers in France; inventory is with mother company in UK, purchase orders are created from subsidiary entity in France to group entity in UK. The UK entity ships the goods directly to the end-customers.

Problem: We want to show the delivery address of the end customer on the Purchase order

I'm sure this is possible as there are some resources online demonstrating this (https://www.youtube.com/watch?v=Ne_vfoGV1Tc)

This article does do a fair job to explain but I 

​https://www.odoo.com/forum/help-1/question/how-can-i-differ-the-billing-address-and-the-shipping-address-for-a-purchase-order-106801

And multiple people had this problem or something similar in the past:

https://www.odoo.com/documentation/user/12.0/purchase/purchases/rfq/dropshipping.html

https://www.odoo.com/forum/help-1/question/confirmed-purchase-order-stuck-no-delivery-address-95508

https://www.odoo.com/forum/help-1/question/does-openerp-7-0-purchase-orders-allow-you-to-specify-a-separate-shipping-address-252

Can anyone point me in the right direction on how to set this up the most efficiently?

Thank you very m​uch for your kind reply.

 

Thomas

Avatar
Zrušit

Are you using drop shipping?

Hi GiusyG

Thanks for the super quick reply! I'm fairly new with odoo (7 days) - would you be able to tell me where to put the code?

@Chris, I would like to use dropshipping, but not yet implemented (only in a test environment).

Thomas

Hi, Sorry I read now!

You must inherit this template "report_purchaseorder_document" and add the code that I have written previously...

Nejlepší odpověď

Drop shipping should meet your requirements.  It will work across companies if required.

The Purchase Order will show the shipping address for the customer so the vendor can ship direct.

There's a training course here


Avatar
Zrušit
Nejlepší odpověď

Hi, 

I use this code for display the shipping address:

<div t-if="o.dest_address_id">
<span t-if="o.dest_address_id.name" t-field="o.dest_address_id.name"/>
<span t-if="o.dest_address_id.street" t-field="o.dest_address_id.street"/>
<br/>
<span t-if="o.dest_address_id.zip" t-field="o.dest_address_id.zip"/>
<br/>
<span t-if="o.dest_address_id.city" t-field="o.dest_address_id.city"/>
<br/>
<span t-if="o.dest_address_id.country_id" t-field="o.dest_address_id.country_id"/>
</div>

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 22
2233
0
bře 15
3226
2
čvc 25
2304
7
čvc 24
19137
1
led 23
2003