Skip to Content
Menu
This question has been flagged
2 Replies
3118 Rodiniai

Hi, I have a question about the stock. It is possible that deleting a sales order stock is reset automatically in openerp7?

Portretas
Atmesti
Best Answer

Hi Jose

Stock is not calculated based on the 'sales order', It gets calculated on the stock move created into the system. So if you will delete a sales order, stock will not get reset.

Let us know what exactly you want to do.

Portretas
Atmesti
Autorius Best Answer

Hello Emipro

I want to do exactly that when I cancel a sale order at the same time it cancel the delivery note  and restored the stock in the warehouse

 

Thanks for you early answer

Portretas
Atmesti

@Jose For cancelling the sale order you must first cancel the delivery order. The sequence is, first cancel the delivery order (if it is not be delivered). As soon as you cancel the delivery order the stock automatically resets. Once you cancel the delivery order than you can cancel the Sales Order. The only thing is, if the delivery order is 'completed' or 'done', you cannot cancel it. You need to find something (module - stock_picking_cancel - version6.1) that allows you to cancel the delivery order even after it is been 'completed'. I don't find it in v8, you need to check out.