跳至內容
選單
此問題已被標幟
2 回覆
15620 瀏覽次數

I need to delete delivery orders that are in done state. But I can't do anything with it, there are no options to cancel it. What would be the best approach to safely cancel it and delete it?

頭像
捨棄

I need to add a pre-discount at points of sale

最佳答案

Install Cancelling Entries Module.

Accounting -> Configuration -> Journal -> Stock Journal -> Allow cancelling Entries

Now you can cancel, set to draft, and delete the DO

頭像
捨棄

this method is not posible for a delivery order in delivered/cancelled status.How can a do in these 2 statuses can be deleted

最佳答案

In Odoo 11 onwards, When Delivery or shipment is in the done state, There is Unlock button.

When you click on this, Order become unlock and you will get an option to edit a Done Qty in Move lines.

If you want to just cancel the order, you can simply provide done qty as 0 and again lock it.

Effect of this is, you onhand qty for a product will decrease for shipment or increase for delivery as stock move receive 0 qty. It is the most safest way as it takes care of all stock related and inventory related odoo flow.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
3658
1
3月 15
11660
1
7月 23
3288
1
12月 15
8420
1
3月 15
9650