← Back to team overview

openerp-india team mailing list archive

[Bug 1234492] Re: [6.0] Incoming Shipment state suddenly change from available to done

 

Hi Parik,

Thanks for your kindly reply.

i have look into your video, it seem didn't get any problem.

Actually i have inherrit to modified some code inside purchases module. But it seems strange, because from an thousand record of PO that generate the incoming, this error will appear just 3 times till now and it will be appear in different day and month.
I also have checked my code, but i can't found have any code that asked the system to change the state from available to done.
So, i go to the workflow to check the action and i found that in workflow stock.picking with name "Done" have asked the system to write the state of stock.picking become done and record the date of "date_done". 

And from this action looks almost the same as the problems i faced.
" Only the stock.picking state was update to done, and the date_done was same with PO last modified date"
" the state of stock.move that related with this stock.picking still in available"
Ex. 
TEMP2013030002 (state = Done)
item line inside this picking:

So, for temporary. i was go to this action to prevent it by do some
code. But i'm not sure this problem was solved. So, i will be always
maintain to see if have any issue occur again.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1234492

Title:
  [6.0] Incoming Shipment state suddenly change from available to done

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hi, friends can you please help me on this problem? or any of you have
  met this problem and have solved it?

  Now i'm using openerp version 6.0 to develop a project. But i found a strange issue.
  My incoming state with the reference no TempXXXXX suddenly changed from Available to "DONE" and this issue happened just on 2 record of my incoming shipment.
  When i was go to check it, i found the incoming was auto generate from PO and have revised 1 time (i have created function of revised the PO), so i assumed the scenario for this issue is as the following:
  1. The user created a PO and added an item to the PO.
  2. The user has approved the PO and the Incoming Shipment has been generated with "Available" state.
  3. The another user (lets call purchaser) found out that the item is wrong and revised the PO.
  4. The purchaser removed the previous item and inserted the new one.
  5. The PO has been approved once again but the state of the Incoming Shipment changed to "Done".

  
  Note:
  1. This is only an assumed scenario as this issue happened when the PO has been revised and the "Notes" written by the user  (purchaser) stated that they revised the item code (means that they changed the item and added another new one). 
  2. I have try to duplicate this record and try it like the scenario that i have assumed, but i wasn't occur.

  
  Thanks Before.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1234492/+subscriptions


References