Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019972Openbravo ERPA. Platformpublic2012-03-06 19:112012-04-01 20:37
maite 
alostale 
immediatemajoralways
closedfixed 
5
 
3.0MP10 
OBPS
Core
No
0019972: Lines are duplicated when using process to insert lines (for example Copy from order) and pressing OK button
Lines are duplicated when using process to insert lines and pressing OK button
1. Create Sales Order header for "F&B España, S.A." organization and "Alimentos y Supermercados, S.A." business partner
2. Press "Copy from order button" and select order with documentno PV5
3. Press OK button several times
4. Realize that lines are duplicated
No tags attached.
related to design defect 0019973 closed naiaramartinez Ensure processes cannot be launched several times 
Issue History
2012-03-06 19:11maiteNew Issue
2012-03-06 19:11maiteAssigned To => alostale
2012-03-06 19:11maiteModules => Core
2012-03-06 19:11maiteOBNetwork customer => Yes
2012-03-06 19:14maitePriorityurgent => immediate
2012-03-07 09:11alostaleRelationship addedrelated to 0019973
2012-03-07 09:14alostaleNote Added: 0046112
2012-03-07 09:14hgbotCheckin
2012-03-07 09:14hgbotNote Added: 0046113
2012-03-07 09:14hgbotStatusnew => resolved
2012-03-07 09:14hgbotResolutionopen => fixed
2012-03-07 09:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ab62af27d492b40480a71059a2c8c07e3beebc45 [^]
2012-03-08 20:13dbazNote Added: 0046213
2012-03-08 20:13dbazStatusresolved => closed
2012-03-08 20:13dbazFixed in Version => 3.0MP10
2012-04-01 20:37hudsonbotCheckin
2012-04-01 20:37hudsonbotNote Added: 0047051

Notes
(0046112)
alostale   
2012-03-07 09:14   
The problem is for this specific manual process, that the button is not disabled after clicking on it.

Automatic generated UI processes already lock buttons on execution.

Current patch solves just this concrete process by displaying the loading image when the process is in execution.

A more in detail review of all processes should be done by 0019973.

No regression risk.
(0046113)
hgbot   
2012-03-07 09:14   
Repository: erp/devel/pi
Changeset: ab62af27d492b40480a71059a2c8c07e3beebc45
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 07 09:07:39 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ab62af27d492b40480a71059a2c8c07e3beebc45 [^]

fixed issue 19972: Copy from Order can be executed several times

  Copy from Order process allowed OK button to be clicked several times resulting on
  the process being executed that number of times.

  Now the button is disabled in client once it's clicked.

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.html
---
(0046213)
dbaz   
2012-03-08 20:13   
Reviewed @ changeset 15743 - b352e67ef2a3
(0047051)
hudsonbot   
2012-04-01 20:37   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/640de9acc2d5 [^]

Maturity status: Test