← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 782167] Re: [6.0 - trunk] reception "process" wizard is mixing lines

 

In fact, each line of the wizard have a field m2o 'wizard_id' to the object stock.move.memory.out.
But the ids are related to different models: stock.partial.picking and stock.partial.move.
So, it's mixing instances of those models until you open the wizard enough times on the same model to reach ids that are not used yet by the other model.

The solution is simple: it should be 2 different m2o in the
stock.move.memory.out. One to be used when linked to
stock.partial.picking and one to be used when linked to
stock.partial.move. And also ensure the o2m on the stock.partial.picking
and stock.partial.move uses the right m2o field.


** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Description changed:

  The wizard "Process" in incoming shipments and in receive products seems
  to randomly add lines in the o2m.
  
  See attached videos.
  For example in Receive Products, I receive 5 * Wood : the wizard creates 3 lines instead of 1. The lines seems to be selected randomly.
+ 
+ Here is the funny part. If you open many times the wizard in incoming
+ shipments, you'll see it's suddenly working fine. But then, it's the
+ other wizard in receive products that behave weird. But again, after
+ some times it will work perfectly. Then you switch back to incoming
+ shipments and it's again broken.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/782167

Title:
  [6.0 - trunk] reception "process" wizard is mixing lines

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  The wizard "Process" in incoming shipments and in receive products
  seems to randomly add lines in the o2m.

  See attached videos.
  For example in Receive Products, I receive 5 * Wood : the wizard creates 3 lines instead of 1. The lines seems to be selected randomly.

  Here is the funny part. If you open many times the wizard in incoming
  shipments, you'll see it's suddenly working fine. But then, it's the
  other wizard in receive products that behave weird. But again, after
  some times it will work perfectly. Then you switch back to incoming
  shipments and it's again broken.


References