Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029654Openbravo ERP09. Financial managementpublic2015-04-21 12:382015-04-22 17:23
vmromanos 
vmromanos 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q23.0PR15Q2 
umartirena
Core
Production - Confirmed Stable
2014-08-21
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/8a0d6c8c1eb1 [^]
No
0029654: 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
Approved
blocks defect 0029653 closed vmromanos Payments belonging child orgs can't be added to manual transactions 
Issue History
2015-04-21 12:43vmromanosTypedefect => backport
2015-04-21 12:43vmromanosTarget Version => 3.0PR15Q2
2015-04-21 12:46vmromanosAssigned ToTriage Finance => vmromanos
2015-04-21 16:36vmromanosNote Added: 0076665
2015-04-21 16:36vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8319#r8319
2015-04-22 10:24dmitry_mezentsevTag Attached: Approved
2015-04-22 17:21hgbotCheckin
2015-04-22 17:21hgbotNote Added: 0076702
2015-04-22 17:22hgbotStatusscheduled => resolved
2015-04-22 17:22hgbotResolutionopen => fixed
2015-04-22 17:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/04708c933fdf36aafb05ab2ceeb9748d5cf28176 [^]
2015-04-22 17:23umartirenaReview Assigned To => umartirena
2015-04-22 17:23umartirenaNote Added: 0076703
2015-04-22 17:23umartirenaStatusresolved => closed
2015-04-22 17:23umartirenaFixed in Version => 3.0PR15Q2

Notes
(0076665)
vmromanos   
2015-04-21 16:36   
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.
(0076702)
hgbot   
2015-04-22 17:21   
Repository: erp/backports/3.0PR15Q2
Changeset: 04708c933fdf36aafb05ab2ceeb9748d5cf28176
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/backports/3.0PR15Q2/rev/04708c933fdf36aafb05ab2ceeb9748d5cf28176 [^]

Fixed bug 29654: 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
---
(0076703)
umartirena   
2015-04-22 17:23   
Code Review + Testing OK