Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029535Openbravo ERP09. Financial managementpublic2015-04-08 20:142015-04-10 08:18
Production - QA Approved
0029535: 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:

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."
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.0PR15Q2
2015-04-08 21:03dmitry_mezentsevTag Attached: Approved
2015-04-10 08:13hgbotCheckin
2015-04-10 08:13hgbotNote Added: 0076432
2015-04-10 08:13hgbotStatusscheduled => resolved
2015-04-10 08:13hgbotResolutionopen => fixed
2015-04-10 08:13hgbotFixed in SCM revision => [^]
2015-04-10 08:14umartirenaReview Assigned To => umartirena
2015-04-10 08:14umartirenaNote Added: 0076433
2015-04-10 08:14umartirenaStatusresolved => closed
2015-04-10 08:14umartirenaFixed in Version => 3.0PR15Q2
2015-04-10 08:18umartirenaAssigned Toumartirena => eduardo_Argal
2015-04-10 08:18umartirenaNote Edited: 0076433bug_revision_view_page.php?bugnote_id=0076433#r8221

2015-04-10 08:13   
Repository: erp/backports/3.0PR15Q2
Changeset: 155824f390ccf798c40411e5723c40313264f7eb
Author: Unai Martirena <unai.martirena <at>>
Date: Thu Apr 09 17:24:48 2015 +0200
URL: [^]

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

M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/
2015-04-10 08:14   
(edited on: 2015-04-10 08:18)
Code Review + Testing OK

Issue fixed by Eduardo Argal