This question has been flagged
3 Replies
3064 Views

A sales order was made with 2 products, it was confirmed and the merchandise was delivered and subsequently invoiced.

The customer changed his mind and canceled the entire operation, the merchandise was returned to the warehouse and the customer invoice was canceled.

The inventory issue had a done status on both products and once the return was made, both products also had a done status. Next, we want to proceed to cancel the Sales Order, since the client will not buy anything and we do not want to have a sales order with sales order status, since it gives the impression that it´s pending when in fact it should be canceled.

The system does not allow cancellation of the sales order and the message it says is: You cannot cancel a stock move that has been set to 'Done'. This is a problem because the Sales Order Appears at all times with the status: Sales Order


How can we cancel that Sales Order?
Avatar
Discard
Author

All this transaction in odoo V13

Best Answer

Hi Roberto Requejo Jimenez,

Customization is needed for this problem or you can update the def do_unreserve and def action_cancel method of stock move and def unlink method of stock_move_line.

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   


Avatar
Discard
Best Answer

You would require to create a "return invoice" from the sale order rather than trying to cancel it. This would create the relevant document and financial transaction for payment from 'your company' back to customer

https://www.odoo.com/forum/help-1/manage-returns-refunds-49385

Avatar
Discard
Best Answer

it must be customized

Avatar
Discard