Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
7341 Widoki

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

Awatar
Odrzuć

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...

Najlepsza odpowiedź

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


Awatar
Odrzuć
Najlepsza odpowiedź

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>

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 22
1790
0
mar 15
2914
1
gru 24
1303
7
lip 24
18375
1
sty 23
1509