Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015467Openbravo ERPZ. Otherspublic2010-12-10 12:132011-02-28 16:27
maite 
mirurita 
urgentmajoralways
closedfixed 
5
 
 
Advanced Payables and Receivables Mngmt
No
0015467: Transaction duplicated when running process in parallel
If 2 people try to add same transaction at same time, similar transaction is added twice.
It seems that document is not locked.

See screenshot attached for final result
1. Sales Management || Transactions || Sales Invoice || Header : create sales invoice and pay it.
2. Access same application for 2 different computers and go to Financial Management || Receivables & Payables || Transactions || Financial Account || Account >> Transactions
3. Both of you press "Add Transaction" and choose same Payment. Press "Accept" button
4. You will see that two similar transactions have been added, although message says that 1 row inserted
No tags attached.
blocks defect 0015400 closed mirurita Transaction duplicated when running process in parallel 
Issue History
2010-12-16 18:18miruritaTypedefect => backport
2010-12-16 18:18miruritafix_in_branch => 2.50
2010-12-16 18:20miruritaModules => Advanced Payables and Receivables Mngmt
2010-12-16 18:20miruritaCategoryAdvanced Payables and Receivables IDL => Z. Others
2010-12-16 18:27hgbotCheckin
2010-12-16 18:27hgbotNote Added: 0033249
2010-12-16 18:27hgbotStatusscheduled => resolved
2010-12-16 18:27hgbotResolutionopen => fixed
2010-12-16 18:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b1c69dc8f7d1c0d7150aaba249f1c9872f5b0612 [^] => http://code.openbravo.com/erp/stable/2.50/rev/f907026ed13433e30939c5ddf59d4b6f25d8c262 [^]
2010-12-16 18:28hgbotCheckin
2010-12-16 18:28hgbotNote Added: 0033250
2010-12-16 18:28hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.50/rev/f907026ed13433e30939c5ddf59d4b6f25d8c262 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/f51e10aae07da5c36a0f5198c8f86dfaa8a595d4 [^]
2011-02-28 16:27adrianromeroNote Added: 0034430
2011-02-28 16:27adrianromeroStatusresolved => closed

Notes
(0033249)
hgbot   
2010-12-16 18:27   
Repository: erp/stable/2.50
Changeset: f907026ed13433e30939c5ddf59d4b6f25d8c262
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 16 18:27:23 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/f907026ed13433e30939c5ddf59d4b6f25d8c262 [^]

Fixes issue 15467: Transaction duplicated when running process in parallel

---
M src-db/database/model/tables/FIN_FINACC_TRANSACTION.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0033250)
hgbot   
2010-12-16 18:28   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: f51e10aae07da5c36a0f5198c8f86dfaa8a595d4
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 16 18:28:01 2010 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/f51e10aae07da5c36a0f5198c8f86dfaa8a595d4 [^]

Fixes issue 15467: Transaction duplicated when running process in parallel

---
M src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.java
---
(0034430)
adrianromero   
2011-02-28 16:27   
Verified