Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
4981 Vistas

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
Descartar
Autor

All this transaction in odoo V13

Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

it must be customized

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 24
1826
1
may 17
6138
0
mar 15
3624
4
abr 25
7652
3
feb 25
1896