Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029536Openbravo ERP09. Financial managementpublic2015-04-08 20:142015-04-09 17:10
umartirena 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q1.33.0PR15Q1.3 
umartirena
Core
Production - QA Approved
3.0PR14Q4
No
0029536: Transaction cannot be created from Match Statement for financial accounts of orgs not in natural tree of session org
When trying to create a transaction from Match Statement window, if the financial account belongs to an org not in natural tree of Organization in session, it fails. This only happens for transactions of type Bank Fee.
In live builds as Group Admin role:
* Go to Financial Account window. Select "Bank - Account 1".
* Go to Imported Bank Statements tab. Create a Header.
* Create a Bank Statement Line. Amount Out 10. Process it.
* Click on Match Statement. Press cancel in the displayed popup.
* Select the previously created line and click on Add Transaction.
* Set as Transaction Type "Bank Fee" and press Done.

Realize that the following error is raised:

"Error
Entity 20 (FIN_BankStatementLine) with organization F&B US, Inc. references an entity Bank - Account 1 - USD - - 0 through its property financialAccountTransaction but this referenced entity belongs to an organization F&B España - Región Norte which is not part of the natural tree of F&B US, Inc."
Approved
blocks defect 0029533 closed eduardo_Argal Transaction cannot be created from Match Statement for financial accounts of orgs not in natural tree of session org 
Issue History
2015-04-08 20:24umartirenaTypedefect => backport
2015-04-08 20:24umartirenaTarget Version => 3.0PR15Q1.3
2015-04-08 21:03dmitry_mezentsevTag Attached: Approved
2015-04-09 17:08hgbotCheckin
2015-04-09 17:08hgbotNote Added: 0076425
2015-04-09 17:08hgbotStatusscheduled => resolved
2015-04-09 17:08hgbotResolutionopen => fixed
2015-04-09 17:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/59f7b0916eaddebe26d3d57c0d8a25aa48ea4c55 [^]
2015-04-09 17:09hgbotCheckin
2015-04-09 17:09hgbotNote Added: 0076426
2015-04-09 17:10umartirenaReview Assigned To => umartirena
2015-04-09 17:10umartirenaNote Added: 0076427
2015-04-09 17:10umartirenaStatusresolved => closed
2015-04-09 17:10umartirenaFixed in Version => 3.0PR15Q1.3
2015-04-09 17:10umartirenaAssigned Toumartirena => eduardo_Argal

Notes
(0076425)
hgbot   
2015-04-09 17:08   
Repository: erp/backports/3.0PR15Q1.3
Changeset: 59f7b0916eaddebe26d3d57c0d8a25aa48ea4c55
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Apr 09 16:35:44 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/59f7b0916eaddebe26d3d57c0d8a25aa48ea4c55 [^]

Fixes bug 29536: Transaction can be created from Add transaction for Bank Fee

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddTransactionActionHandler.java
---
(0076426)
hgbot   
2015-04-09 17:09   
Repository: erp/backports/3.0PR15Q1.3
Changeset: d5e2e90d6e758b0c27b6feeb9a12b74ce6581836
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Apr 09 17:09:16 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/d5e2e90d6e758b0c27b6feeb9a12b74ce6581836 [^]

Related to bug 29536: Fix copyright

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddTransactionActionHandler.java
---
(0076427)
umartirena   
2015-04-09 17:10   
Code Review + Testing OK