This question has been flagged
7 Replies
3052 Views

I have imported bulk sales orders nearly 5000 in to odoo-7 system. I have confirmed, delivered, make invoice and invoice confirmed using automatic sales order module. After this i will come to know some orders are duplicated. What i have to do now ?. How can i remove/cancel sales orders from odoo-7 system?. Return the product with invoice is one option to me want to follow. What is your comment on this process?. Does it possible to make cancel sales order after delivery in the odoo-7 system?.

Avatar
Discard
Best Answer

You can do it, using some of the following modules:

account_cancel

invoice_cancel_and_return_picking

invoice_cancel_ex

account_move_cancel

 

Avatar
Discard
Author

Thank you Med, It's working fine.

Best Answer

Just today !

I was looking for a solution and after read this i found:

https://github.com/odoo/odoo/commit/3d05ddab50c83fdcc9d638800f8d4c164c66c089

Avatar
Discard
Best Answer

Hi bro..

         Eventhough you return the products.. that delivery cant be cancelled unless u change the state using posgre-sql.. unless u cancel the delivery order u cant cancel the sales order.. unless u cancel the sales order u cant delete the sales order.. 

so u should do it manually...

if u want to cancell all the delevery orders then u can create a sql query which changes all the delevery order state to cancel...

Avatar
Discard
Author

This is not the good way anand. when i cancel sales order, je's regarding this sales order should cancel and stock should increase in regarding location. I am looking for this.

yes,.. bro... :)

Best Answer

I think you can do the same priciple with the solution from this question:

https://www.odoo.com/forum/help-1/question/help-review-canceling-purchase-code-67379

Avatar
Discard