Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0042433Openbravo ERPA. Platformpublic2019-11-28 11:422022-02-01 07:24
vmromanos 
Triage Platform Base 
normalminoralways
newopen 
5
 
 
Core
No
0042433: Process Definition parameter display logic based on field declared on window only works after refreshing the window record
The display logic of a Process Definition Parameter which is based on a field declared into the parent window only works after manually refreshing the record into the window.
Actually the refresh only works when the column associated to the window field is declared as "Stored in Session", otherwise the display logic never works.
Install Advanced Warehouse Operation module (and dependencies).
Replace org.openbravo.warehouse.advancedwarehouseoperations folder by https://code.openbravo.com/erp/pmods-branches/org.openbravo.warehouse.advancedwarehouseoperations-ici [^] repo in revision 2837

Log into Openbravo ERP and change role to AWO QA Admin
Go to Inventory Count window.
Create a new record and set the Shared Count field to Y.
Press the Assign button. Verify no grid is displayed (this is wrong). Close the popup.
Now refresh the record and press again the Assign button. Verify the grid is now displayed.

The grid parameter has a display logic based on the "Shared Count" field declared into the window.

As a workaround I'm able to make the display logic work as expected after creating a new parameter into the Process Definition with a default value "@IsSharedCount@" and with a Display Logic "false". That means that the field value is working fine in the Process Definition Parameter's "Default value" but not in the "Display Logic".
Make sure the fields' values are visible in the Display Logic field exactly in the same way as it works for the Default Value
No tags attached.
? displayLogicAfterRefresh.mp4 (949,441) 2019-11-28 11:48
https://issues.openbravo.com/file_download.php?file_id=13610&type=bug
Issue History
2019-11-28 11:42vmromanosNew Issue
2019-11-28 11:42vmromanosAssigned To => platform
2019-11-28 11:42vmromanosModules => Core
2019-11-28 11:42vmromanosTriggers an Emergency Pack => No
2019-11-28 11:48vmromanosFile Added: displayLogicAfterRefresh.mp4
2019-11-28 11:48vmromanosNote Added: 0115933
2022-02-01 07:24alostaleAssigned Toplatform => Triage Platform Base

Notes
(0115933)
vmromanos   
2019-11-28 11:48   
Attached video with a quick demo