Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to avoid the packing operation?

By
Pascal Tremblay
on 3/22/15, 2:34 PM 1,319 views

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.

Pascal Tremblay
on 7/14/15, 7:34 AM

555 views and no answers whatsoever. This is a BUG, or at least a really horrible feature...

Kevin Sawyer
on 1/7/16, 4:32 PM

We didn't change anything about this. Still the same thing.

Pascal Tremblay
on 1/7/16, 7:17 PM

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.

Aitor Bouzas
on 6/16/16, 1:06 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/22/15, 2:34 PM
Seen: 1319 times
Last updated: 7/14/15, 7:34 AM