Hello guys,
I know that Odo is a serious ERP.... But...
I can cancel a picking operation in the warehouse. But I would want to delete it completely. Once the picking record is cancelled, I try to delete it, but I always get this error :
Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Packing Operation - stock.pack.operation]
So, I go in the database, in the stock.pack.operation table, and I delete the associated stock operation line. I know, it's dangerous.
After this, I can delete the cancelled picking record.
My questions are :
1) COuld we avoid this stock.pack.operation line each time a picking operation is created?
Do you have an idea for us? still not able to avoid this pack operation.
555 views and no answers whatsoever. This is a BUG, or at least a really horrible feature...
We didn't change anything about this. Still the same thing.
As far as I know the stock.pack.operation are normally created when you press "Transfer" button in the stock.picking.
It would be nice to create some module that deletes the stock.pack.operation in cascade but I don't know if there's some functionality that could restrict this behaviour. I sometimes do the same you do (deleting the stock.pack.operation from the database), it's not so dangerous if the packs where never transferred.