Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Cancel Returned Sales Order- OpenERP-7

Michael Pol
on 8/21/15, 3:37 AM 676 views

Is it right in ERP to cancel Sales Order after return from Customer?

Following is the scenario where I want to handle return processing. In my case cancelling Delivery order is not in option, otherwise I would have cancelled Delivery Order and Sale Order.

1). Customer places order through the different channels. Order is confirmed in OpenER and devliery order gets created.

2). The Delivery order is dispatched from warehouse through courier and it's marked as done. 

3). In some scenarios, the parcel is returned from Customer. We create Return(Incoming Shipment) against delivered delivery order.

4). When we try to cancel Sale Order it says "'Cannot cancel sales order!', u'You must first cancel all delivery order(s) attached to this sales order.'" But I can't cancel Delivery order because the delivery order was gone through two processes(delivery and return).

My question, Is it right to cancel Sales Order which is returned from Customer. Or we can keep return order in "Sales Order or Sale to Invoice" state.?

Previously Asked Question : 


Sandeep Kumar
On 9/8/15, 12:30 PM

First place..

When a user creates a sales order nothing happens in the system provided you opted invoicing policy as on demand or after delivery.

If an order is created and it has been returned, you can use return shipment and complete the reverse transaction in the system, if you are using stock posting entry,  then also it will post a reverse/correct entry in the system,

if you have invoices created for the sales order,, automatically returned order will ask to to create a draft refund and you can proceed further..

The whole idea is to have a correct balance sheet and profit and loss account posted correctly which odoo is taking care,, it alwys post a debit entry wherever it is credit and credit entry where it is debited...

Sales order cannot be cancellled because sale.order object has dependencies on almost 10 + db tables in postgres sql,,

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 8/21/15, 3:37 AM
Seen: 676 times
Last updated: 9/8/15, 12:30 PM