Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039754 | Openbravo ERP | 09. Financial management | public | 2018-11-22 09:39 | 2018-12-12 16:32 | |||||||
Reporter | Sandrahuguet | |||||||||||
Assigned To | Sandrahuguet | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 30 | OS Version | Openbravo Appliance 14.04 | ||||||||
Product Version | ||||||||||||
Target Version | 3.0PR18Q3.4 | Fixed in Version | 3.0PR18Q3.4 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | vmromanos | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | 2017-03-11 | |||||||||||
Regression introduced in release | 3.0PR17Q2 | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/498699b38a5d0ddb368c9be379e25eb2732ee091 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039754: Improve contention problems in fin_financial_account | |||||||||||
Description | In order to avoid concurrency problems when the current balance is calculated a lock was added in issue 35137. This lock is necessary, but is possible to reduce the lock and calculate the current balance at the end of the process. | |||||||||||
Steps To Reproduce | - In order to easily simulate the 2 transactions are processed at same time it is necessary to set a break-point just after execution of following code : financialAccount.setCurrentBalance(financialAccount.getCurrentBalance().subtract(transaction.getDepositAmount()).add(transaction.getPaymentAmount())); - Go to Payment In and create a payment: Organization: F&B España - Region Norte Received From: Alimentos y Supermercados, S.A Payment Method: Transferencia Deposit To: Cuenta de Banco - EUR Amount: 100 In Add details - > Overpayment Action: Leave the credit to be used later Done and execution should be stopped in previous break-point - Open "new incognito window" in Chrome and access Go to Payment In and create a new payment: Organization: F&B España - Region Norte Received From: Restaurantes Luna Llena, S.A. Payment Method: Transferencia Deposit To: Cuenta de Banco - EUR Amount: 200 Click in add details, the popup does not open, save the header is locked | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-12-04 15:14 | Sandrahuguet | Type | defect => backport | |||||||||
2018-12-04 15:14 | Sandrahuguet | Target Version | 3.0PR19Q2 => 3.0PR18Q3.4 | |||||||||
2018-12-04 15:29 | Sandrahuguet | Assigned To | Triage Finance => Sandrahuguet | |||||||||
2018-12-05 13:19 | Sandrahuguet | Review Assigned To | => vmromanos | |||||||||
2018-12-05 15:22 | hgbot | Checkin | ||||||||||
2018-12-05 15:22 | hgbot | Note Added: 0108287 | ||||||||||
2018-12-05 15:22 | hgbot | Status | scheduled => resolved | |||||||||
2018-12-05 15:22 | hgbot | Resolution | open => fixed | |||||||||
2018-12-05 15:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q3.4/rev/81316a286ec64be801c87cddb601100300ba7380 [^] | |||||||||
2018-12-05 15:22 | hgbot | Checkin | ||||||||||
2018-12-05 15:22 | hgbot | Note Added: 0108289 | ||||||||||
2018-12-05 17:53 | hgbot | Checkin | ||||||||||
2018-12-05 17:53 | hgbot | Note Added: 0108306 | ||||||||||
2018-12-05 17:55 | Sandrahuguet | Status | resolved => new | |||||||||
2018-12-05 17:55 | Sandrahuguet | Resolution | fixed => open | |||||||||
2018-12-11 17:52 | hgbot | Checkin | ||||||||||
2018-12-11 17:52 | hgbot | Note Added: 0108413 | ||||||||||
2018-12-11 17:52 | hgbot | Status | new => resolved | |||||||||
2018-12-11 17:52 | hgbot | Resolution | open => fixed | |||||||||
2018-12-11 17:52 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/backports/3.0PR18Q3.4/rev/81316a286ec64be801c87cddb601100300ba7380 [^] => http://code.openbravo.com/erp/backports/3.0PR18Q3.4/rev/59876bd4506b93f9e1322c6924ee63ab01763e46 [^] | |||||||||
2018-12-12 16:32 | vmromanos | Note Added: 0108554 | ||||||||||
2018-12-12 16:32 | vmromanos | Status | resolved => closed | |||||||||
2018-12-12 16:32 | vmromanos | Fixed in Version | => 3.0PR18Q3.4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|