Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054265Openbravo ERP01. General setuppublic2023-12-11 13:342024-01-31 23:25
Leyre 
Triage Platform Base 
normalmajoralways
closedfixed 
5
 
PR23Q4.2PR23Q4.2 
Core
Production - Confirmed Stable
2022-03-15
PR22Q2
https://gitlab.com/openbravo/product/openbravo/-/commit/e7487ed9e5b52d1c32013d2ca0c4bd9a16307bbd [^]
No
0054265: "Payment Out" window - Cannot sort columns by descending order
It is not possible to sort columns by descending order in "Payment Out" window, "Add Details" pop-up. See attached image.
Backend:

1) In Payment Out window, create a new record.
2) Click "Add Details" button and un-tick any selected payment lines. (Make sure there are multiple payment lines in order to see the sorting result).
3) Sort 'Invoice No.' column by descending order -> KO
4) Sort 'Expected Date' column by descending order -> KO
5) Sort any amount column by descending order -> KO
No tags attached.
blocks defect 0054091 closed Triage Platform Base "Payment Out" window - Cannot sort columns by descending order 
Issue History
2024-01-08 11:40AugustoMauchTypedefect => backport
2024-01-08 11:40AugustoMauchTarget Version => PR23Q4.2
2024-01-31 23:24hgbotNote Added: 0160039
2024-01-31 23:25hgbotNote Added: 0160040
2024-01-31 23:25hgbotResolutionopen => fixed
2024-01-31 23:25hgbotStatusscheduled => closed
2024-01-31 23:25hgbotFixed in Version => PR23Q4.2
2024-01-31 23:25hgbotNote Added: 0160041

Notes
(0160039)
hgbot   
2024-01-31 23:24   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1123 [^]
(0160040)
hgbot   
2024-01-31 23:25   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1123 [^]
(0160041)
hgbot   
2024-01-31 23:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: a63dd4a5d8ed996dbc0e6d9db7293fa9a20c65e1
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 31-01-2024 23:23:33
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a63dd4a5d8ed996dbc0e6d9db7293fa9a20c65e1 [^]

fixes BUG-54265 Cannot filter P&E grids by a field in descending criteria

  In the following cases the sortBy property was not being identified
properly as a property that references to a grid field:

  1) When sorting descending, because the sortBy property starts with
"-"
  2) When sorting by a display field of a grid field and the name of
that display field is not included in the datasource fields. This is the
case of some special property fields (product characteristic property
fields)

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-datasource.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---