Openbravo Issue Tracking System - Modules
View Issue Details
0056493ModulesAdvanced Warehouse Operationspublic2024-09-19 07:562024-10-31 13:02
caristu 
caristu 
highminorN/A
closedfixed 
5
 
 
0056493: Cannot set the values of a List through the FIC in a P&E grid
Currently is not possible to set the values of a List field in a P&E grid through a FIC call in a P&E grid. This can be needed when it is desired to dynamically filter the available values of the list based on the current context.
0) Use this branch of awo module[1]
1) Create a purchase order with two lines, book and receive it
2) Go to the Reception List window and select the newly created reception list
3) Switch to the lines tab, change the confirmed quantity of one of the lines
4) Switch to the header tab, click on confirm button
5) In the P&E, note that the delta response field shows some values, but when selecting one, the selected value is not correct and changes to an unrecognized value.

[1] https://gitlab.com/openbravo/devel/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/tree/fix/56443-si-group [^]
No tags attached.
blocks feature request 0056443 closed caristu Support Delta/Stock Incident when confirming group of tasks from back office 
Issue History
2024-09-19 07:56caristuNew Issue
2024-09-19 07:56caristuAssigned To => caristu
2024-09-19 07:56caristuIssue generated from0056443
2024-09-19 07:56caristuRelationship addedrelated to 0056443
2024-09-19 08:03hgbotNote Added: 0169333
2024-09-20 11:19caristuRelationship addedrelated to 0024964
2024-09-20 11:37caristuRelationship deletedrelated to 0024964
2024-10-22 16:24caristuRelationship deletedrelated to 0056443
2024-10-22 16:24caristuRelationship addedblocks 0056443
2024-10-31 13:02hgbotResolutionopen => fixed
2024-10-31 13:02hgbotStatusnew => closed
2024-10-31 13:02hgbotNote Added: 0171221
2024-10-31 13:02hgbotFixed in Version => PR25Q1
2024-10-31 13:02hgbotNote Added: 0171222
2024-10-31 13:02hgbotNote Added: 0171223

Notes
(0169333)
hgbot   
2024-09-19 08:03   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1351 [^]
(0171221)
hgbot   
2024-10-31 13:02   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1351 [^]
(0171222)
hgbot   
2024-10-31 13:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c04dd33636c530ee0d8b68a5ec972c7726b0c251
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 31-10-2024 06:37:08
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c04dd33636c530ee0d8b68a5ec972c7726b0c251 [^]

fixes BUG-56493: Items of P&E list fields cannot be dynamically changed

  It was not possible to filter the items of a P&E list field through a
FIC call, for example by using a validation or a FIC extension.

  This is because after the FIC response the editor value map is not
updated but just the field value map.

  To fix this problem when are overriding the getEditorValueMap function
of the P&E grids, to return the updated value map from the list field.
This is the same solution that is currently being done by the grids of
the back office standard windows.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0171223)
hgbot   
2024-10-31 13:02   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: ba88447cbc677b2c8c572a0e404493a9ed9e1a0c
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 31-10-2024 06:37:08
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/ba88447cbc677b2c8c572a0e404493a9ed9e1a0c [^]

related to BUG-56493: cannot set default value in list fields

  If the FIC call returns a default value for a list field of a P&E
grid, the default value was not being set.

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