Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
5191 Visualizzazioni

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
Abbandona
Autore

All this transaction in odoo V13

Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

it must be customized

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 24
2057
1
mag 17
6303
0
mar 15
3785
4
apr 25
8541
3
feb 25
2275