Skip to Content
Menu
This question has been flagged
6 Replies
8272 Views

I've configured the system as follows: Once a Sales Order is confirmed, a delivery order is generated. At this point, when viewing the Sales Order, there's a button to take you to the Delivery Order. Once the Delivery Order has been delivered, you can go back to the Sales Order. On the Sales Order, the button that takes you to the Delivery Order sometimes disappears. Most Sales Orders have it but some Sales Orders don't. Do you know of any variable that could explain this? What can I do so that this button is always present?

Avatar
Discard
Best Answer

Below case is for not generating delivery orders for few of the partners or customers. This may be an inter company partner in case of multi company setup. 

In my case there were 4 companies with associated partner id created in res.partner. 

When i create sale order from one company by selecting the customer as other company, the DO was not generating. When i did few research, the stock location configured for the partner against the property 'property_stock_customer' in ir_property table was wrong. When i configured the correct one, the issue got resolved. 


Check the below

select res_id,value_reference from ir_property where name like '%customer%';

In my case result was as below


     res_id     |  value_reference  

----------------+-------------------

                | stock.location,9

 res.partner,1  | stock.location,15

 res.partner,18 | stock.location,17

 res.partner,18 | stock.location,45

 res.partner,16 | stock.location,31

 res.partner,17 | stock.location,38

 res.partner,35 | stock.location,45

 res.partner,52 | stock.location,17

 res.partner,15 | stock.location,24

 res.partner,35 | stock.location,65


The partner was pointed to wrong stock location which is inactive. 

Avatar
Discard
Best Answer

In my case, the problem was due to the customer record's Invoicing->Customer Location was pointing to an INACTIVE warehouse location.  When I changed the record to point to the correct ACTIVE warehouse location, it worked.

Avatar
Discard
Best Answer

Does anyone know how to do this in Version 10? Our delivery button has disappeared from one company, but is still visible in the other?

Avatar
Discard
Best Answer

Does anyone know how to do this in Version 10? Our delivery button has disappeared from one company, but is still visible in the other?

Avatar
Discard
Best Answer

Does anyone know how to do this in Version 10? Our delivery button has disappeared from one company, but is still visible in the other?

Avatar
Discard
Best Answer

Actually It depends on Invoice Method.

You can find it in Sale Order Form, Tab Other Info, Field "Create Invoice"

If you set the type: On Demand, you will see the button "Delivery Order"

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 15
10758
0
Mar 15
2795
0
Mar 18
2861
1
Mar 15
6523
0
Dec 24
7643