Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029655Openbravo ERP09. Financial managementpublic2015-04-21 12:382015-04-22 17:11
vmromanos 
vmromanos 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q1.43.0PR15Q1.4 
umartirena
Core
Production - Confirmed Stable
2014-08-21
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/8a0d6c8c1eb1 [^]
No
0029655: 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.0PR15Q1.4
2015-04-21 12:46vmromanosAssigned ToTriage Finance => vmromanos
2015-04-21 16:36vmromanosNote Added: 0076666
2015-04-21 16:36vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8321#r8321
2015-04-22 10:25dmitry_mezentsevTag Attached: Approved
2015-04-22 17:08hgbotCheckin
2015-04-22 17:08hgbotNote Added: 0076700
2015-04-22 17:08hgbotStatusscheduled => resolved
2015-04-22 17:08hgbotResolutionopen => fixed
2015-04-22 17:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.4/rev/307e5224fb43730d30959237667859fecb935dec [^]
2015-04-22 17:11umartirenaReview Assigned To => umartirena
2015-04-22 17:11umartirenaNote Added: 0076701
2015-04-22 17:11umartirenaStatusresolved => closed
2015-04-22 17:11umartirenaFixed in Version => 3.0PR15Q1.4

Notes
(0076666)
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.
(0076700)
hgbot   
2015-04-22 17:08   
Repository: erp/backports/3.0PR15Q1.4
Changeset: 307e5224fb43730d30959237667859fecb935dec
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.0PR15Q1.4/rev/307e5224fb43730d30959237667859fecb935dec [^]

Fixed bug 29655: 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
---
(0076701)
umartirena   
2015-04-22 17:11   
Code Review + Testing OK