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

Since the warehouses, locations, push flows, etc process is highly confusing, I've been doing a lot of trial and error testing trying to get everything working correctly. Now that I think I have the solution worked out, I need to delete the incorrect locations/warehouses but now I get integrity errors since stock moves reference these locations/warehouses. Since these are completed stock moves, I can't delete them because it says I can only delete draft moves.

This is a testing environment, but it seems a little silly to have to delete an entire instance just to clean up one section when it should be possible to somehow manage to trial and error things confusing aspects without having to start over from scratch in a new testing dev.

EDIT: Additionally, I can't clean virtually any process, which seems a little harsh as the end users are bound to make mistakes here and there. I.e. I can't delete a purchase order without first deleting the receptions. I can't delete the receptions because they are "Done" without canceling the incoming shipments. I can't delete the incoming shipments because I can't delete in state "done." So I cancel the shipment. Now I can't delete the shipment because you can't delete in state "canceled," can't delete the reception because shipment is canceled and so on up the chain. The users are GOING to make mistakes and they will need to be able to go back and delete incorrect orders, shipments, etc. How are you supposed to do this?

EDIT2: During this process I get a lot of recursive requests like can't cancel Purchase Order because of Delivery Order but can't return items from a Delivery Order because items are DONE in Purchase Order. I get a lot of Warnings: No products to return (only lines in Done state and not fully returned yet can be returned)! which is listed as a "fixed" bug here https://bugs.launchpad.net/openobject-addons/+bug/1104766

頭像
捨棄
最佳答案

Hello,

please go through this link

https://www.openerp.com/apps/7.0/stock_cancel/

this module will help to cancel stock move also you can delete draft picking and cancel orders.

Hope this helps.

Many Thanks.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 24
12219
2
10月 22
2281
9
12月 23
21267
1
4月 16
6159
6
5月 22
8650