Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040781Openbravo ERPZ. Otherspublic2019-05-03 11:362019-05-07 12:27
anderaranguren 
platform 
urgentmajoralways
closedfixed 
5
pi 
3.0PR19Q23.0PR19Q2 
alostale
Core
3.0PR18Q2
No
0040781: In Payment Out window, Add Details process, the Business Partner is not showing the records that it should
In Payment Out window, Add Details process, the Business Partner is not showing the records that it should
18Q1
1. Go to Payment Out window
2. Create a record with Paying to Mountains & Snow S.L
3. Press Add Details
4. In G/L items section add a new record
5. See the Business Partners available
 
PI
1. Go to Payment Out window
2. Create a record with Paying to Mountains & Snow S.L
3. Press Add Details
4. In G/L items section add a new record
5. See the Business Partners available are not the same

Note that if selecting it from the magnifying glass button it can be seen everyone after cleaning the filter.
 
No tags attached.
blocks defect 0040763 closed AugustoMauch In Payment Out window, Add Details process, the Business Partner is showing customers when it should show vendors 
Issue History
2019-05-06 04:56nonofranciscoTypedefect => backport
2019-05-06 04:56nonofranciscoTarget Version => 3.0PR19Q2
2019-05-06 10:03SandrahuguetAssigned Tononofrancisco => platform
2019-05-07 12:18hgbotCheckin
2019-05-07 12:18hgbotNote Added: 0111536
2019-05-07 12:18hgbotStatusscheduled => resolved
2019-05-07 12:18hgbotResolutionopen => fixed
2019-05-07 12:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/fafb4a9c79cc9a99d01a878a7c3287f8a06d2902 [^]
2019-05-07 12:26alostaleReview Assigned To => alostale
2019-05-07 12:26alostaleNote Added: 0111538
2019-05-07 12:27alostaleStatusresolved => closed
2019-05-07 12:27alostaleFixed in Version => 3.0PR19Q2

Notes
(0111536)
hgbot   
2019-05-07 12:18   
Repository: erp/backports/3.0PR19Q2
Changeset: fafb4a9c79cc9a99d01a878a7c3287f8a06d2902
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon May 06 16:47:56 2019 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/fafb4a9c79cc9a99d01a878a7c3287f8a06d2902 [^]

Fixes issue 40781: Standard properties are taken from underlying window in P&E

When a P&E window contains a grid and a request to the datasource of the P&E window is done, it is
not clear whether the P&E grid or the underlying grid standard properties (tabId, tableId, windowId, etc)
should be included in the contextInfo.

Before this changeset [1] was pushed, the standard properties were taken from the underlying grid. The
changeset modified the behaviour, so that the P&E grid standard properties were included instead.
This was necessary because the SelectorConstants.includeOrgFilter method needed the table ID of the
P&E grid.

But the change caused another problem: Some OBBindings were relying on the underlying grid standard
properties being included in the contextInfo.

To fix both problems, now a new property called inpPickAndExecuteTableId is included when doing a
request from a P&E grid, and that property is referenced by SelectorConstants.includeOrgFilter.

The contextInfo now will include the standard properties of the underlying grid, as it was done
before [1].

[1] https://code.openbravo.com/erp/devel/pi/rev/1ed089db27e7036cf53026ca873dbcf104d79bb9 [^]

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorConstants.java
---
(0111538)
alostale   
2019-05-07 12:26   
reviewed + tested