跳至內容
選單
此問題已被標幟
4 回覆
8079 瀏覽次數

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

頭像
捨棄

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

最佳答案

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


頭像
捨棄
最佳答案

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>

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 22
2281
0
3月 15
3322
2
7月 25
2540
7
7月 24
19304
1
1月 23
2072