Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029653Openbravo ERP09. Financial managementpublic2015-04-21 12:382016-02-02 09:35
vmromanos 
vmromanos 
immediatemajoralways
closedfixed 
5
 
pi 
umartirena
Core
Production - Confirmed Stable
2014-08-21
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/8a0d6c8c1eb1 [^]
No
0029653: Payments belonging child orgs can't be added to manual transactions
The payments belonging to a child organization can't be added to manual transactions because they aren't shown in the payment selector
1. Create a Purchase Invoice:
IMPORTANT-> Org: España - Region Norte
IMPORTANT-> Payment method: Cheque (ensure Automatic Withdrawn = N in the financial account)
2. Enter any line and complete the invoice
3. Press Add payment and add a new payment. Select "Process Made Payment" to ensure the transaction is not automatically created
4. Go to Financial Account -> Cuenta de Banco and enter a new transaction
5. Select type = BP Withdrawal. Verify the previously created payment is not shown.


You can repeat these steps, but this time creating the invoice for "España" organization and you will see the new created payment
No tags attached.
depends on backport 00296543.0PR15Q2 closed vmromanos Payments belonging child orgs can't be added to manual transactions 
depends on backport 00296553.0PR15Q1.4 closed vmromanos Payments belonging child orgs can't be added to manual transactions 
caused by feature request 0029387 closed Sandrahuguet Transaction refactor project 
related to defect 0032093 closed Triage Omni OMS [SERQA 627] Payments done in generic orgs can not be selected from a financial account deffined on its legal entity org 
Issue History
2015-04-21 12:38vmromanosNew Issue
2015-04-21 12:38vmromanosAssigned To => Triage Finance
2015-04-21 12:38vmromanosModules => Core
2015-04-21 12:38vmromanosTriggers an Emergency Pack => No
2015-04-21 12:42vmromanosRegression level => Production - Confirmed Stable
2015-04-21 12:42vmromanosRegression date => 2014-08-21
2015-04-21 12:42vmromanosRegression introduced in release => 3.0PR14Q4
2015-04-21 12:42vmromanosRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/8a0d6c8c1eb1 [^]
2015-04-21 12:42vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8316#r8316
2015-04-21 12:43vmromanosStatusnew => scheduled
2015-04-21 12:44vmromanosRelationship addedcaused by 0029387
2015-04-21 12:46vmromanosAssigned ToTriage Finance => vmromanos
2015-04-21 16:35vmromanosNote Added: 0076664
2015-04-21 16:35vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8317#r8317
2015-04-21 18:43umartirenaReview Assigned To => umartirena
2015-04-22 13:05hgbotCheckin
2015-04-22 13:05hgbotNote Added: 0076688
2015-04-22 13:05hgbotStatusscheduled => resolved
2015-04-22 13:05hgbotResolutionopen => fixed
2015-04-22 13:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0b8b1170fe70d78f312cc0f2a7d57e046bd81dd7 [^]
2015-04-22 17:24umartirenaNote Added: 0076704
2015-04-22 17:24umartirenaStatusresolved => closed
2015-04-22 17:24umartirenaFixed in Version => pi
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077142
2016-02-02 09:35hgbotCheckin
2016-02-02 09:35hgbotNote Added: 0083809
2016-02-08 12:19vmromanosRelationship addedrelated to 0032093

Notes
(0076664)
vmromanos   
2015-04-21 16:35   
Test plan I:
1. Follow steps to reproduce
2. Verify the payment is shown in the selector

Test plan II:
1. Follow steps to reproduce, from 1) to 3)
2. Go to Financial Account -> Bank Account 1 and enter a new transaction
3. Select type = BP Withdrawal. Verify the previously created payment is not shown.
(0076688)
hgbot   
2015-04-22 13:05   
Repository: erp/devel/pi
Changeset: 0b8b1170fe70d78f312cc0f2a7d57e046bd81dd7
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Apr 21 14:18:22 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0b8b1170fe70d78f312cc0f2a7d57e046bd81dd7 [^]

Fixed bug 29653: Payment selector now filters by child organizations

The payment selector was incorrectly filtering by child organizations because the order of the parameters in the call to the AD_ISORGINCLUDED function was wrong.

It now gets all the payments belonging to the organization and any child organization of the tab's organization.

---
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0076704)
umartirena   
2015-04-22 17:24   
Code Review + Testing OK
(0077142)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test
(0083809)
hgbot   
2016-02-02 09:35   
Repository: tools/automation/int
Changeset: 39b8428f074523b21aa6e0b95c70f79425b2b64e
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Sep 25 09:44:57 2015 +0200
URL: http://code.openbravo.com/tools/automation/int/rev/39b8428f074523b21aa6e0b95c70f79425b2b64e [^]

Related to issue 29653: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/build.xml
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression025.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression026.java
---