Openbravo Issue Tracking System - Modules
View Issue Details
0027779ModulesWarehouse Pickingpublic2014-10-07 10:082015-01-05 16:35
jonalegriaesarte 
fsoto82 
urgentmajorhave not tried
closedfixed 
5
 
 
pramakrishnan
0027779: Create picking list in sales order (and line) is creating duplicated pickings
Create picking list in sales order (and line) is creating duplicated pickings. In general, this process takes several seconds to finish. During this period of time the process can be performed by two different users and the system creates two picking for the same sales order. The system should be set the processing column to Y, to avoid parallel executions
We can provide an environment where the system takes time, but it is quite simple to delay one process programatically.
- Create a sales order with lines
- Perform one create picking list
- In parallel during the first execution is processing, perform again the process
Both are created.
Set the processing field to Y during the execution
No tags attached.
Issue History
2014-10-07 10:08jonalegriaesarteNew Issue
2014-10-07 10:08jonalegriaesarteAssigned To => AtulOpenbravo
2014-10-07 10:08jonalegriaesarteResolution time => 1413410400
2014-10-08 09:40jpcalventeIssue Monitored: jpcalvente
2014-10-31 06:15fsoto82Statusnew => scheduled
2014-10-31 06:15fsoto82Assigned ToAtulOpenbravo => fsoto82
2014-10-31 06:15fsoto82fix_in_branch => pi
2014-12-15 10:58hgbotCheckin
2014-12-15 10:58hgbotNote Added: 0072497
2014-12-15 10:59pramakrishnanStatusscheduled => resolved
2014-12-15 10:59pramakrishnanResolutionopen => fixed
2014-12-15 11:01pramakrishnanReview Assigned To => pramakrishnan
2014-12-15 11:01pramakrishnanNote Added: 0072499
2014-12-15 11:01pramakrishnanStatusresolved => closed
2015-01-05 16:35umartirenaNote Added: 0073314

Notes
(0072497)
hgbot   
2014-12-15 10:58   
Repository: erp/pmods/org.openbravo.warehouse.pickinglist
Changeset: 21799b0cd246f5eac043dbac3ef7106e472c5b27
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Tue Nov 11 10:54:22 2014 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/21799b0cd246f5eac043dbac3ef7106e472c5b27 [^]

Fix issue 27779: Create picking list in sales order is creating duplicated pickings

Modified CreateActionHandler class to check and set processing flag to the order and skip if set to 'Y'
Added message OBWPL_IgnoredProcessing

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/warehouse/pickinglist/CreateActionHandler.java
---
(0072499)
pramakrishnan   
2014-12-15 11:01   
Code Review + Testing - OK.
(0073314)
umartirena   
2015-01-05 16:35   
Related Commit:

https://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/87c8edfdfa25 [^]