Se rendre au contenu
Menu
Cette question a été signalée
4 Réponses
7334 Vues

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
Ignorer

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

Meilleure réponse

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
oct. 22
1789
0
mars 15
2911
1
déc. 24
1303
7
juil. 24
18366
1
janv. 23
1501