Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030028Openbravo ERPA. Platformpublic2015-05-27 13:172015-05-28 09:52
umartirena 
platform 
immediatemajoralways
closedno change required 
5
 
 
Core
No
0030028: Process Definitions don't refresh any more the grid behind after completion of the process
Process Definitions don't refresh any more the grid behind after completion of the process.

For Standard Process Definitions this could be fixed adding extra response action ('refreshGrid') to the json returned from action handler in order to fix this problem.

This doesn't work for Manual Process Definitions. This process definitions could be re-implemented to a Standard Process definitions to avoid this issue, but not in all cases for 2 reasons:
 * Manual defined as Multi-record. Currently not available for Standard Process Definitions.
 * Complex Manual Process Definition that would take big effort to re-implement on an standard.

This is the commit that implements the responseAction for Standard Process Definitions: https://code.openbravo.com/erp/devel/pi/rev/5c8dd0e358f25ec594c6ea6feaf2cd2efc533fca [^]
Access any window in Openbravo that implements a button with a Manual Process Definition.
Open it and click Done.
Realize that the grid is not refreshed.

Same happens for a Standard process definition that doesn't implement 'refreshGrid' responseAction.
No tags attached.
related to design defect 0025811 closed AugustoMauch unnecessary request on grid refresh 
Issue History
2015-05-27 13:17umartirenaNew Issue
2015-05-27 13:17umartirenaAssigned To => platform
2015-05-27 13:17umartirenaModules => Core
2015-05-27 13:17umartirenaRegression level => Production - Confirmed Stable
2015-05-27 13:17umartirenaRegression date => 2014-11-10
2015-05-27 13:17umartirenaRegression introduced in release => 3.0PR15Q1
2015-05-27 13:17umartirenaRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/6ea2e99171afc48d83a3efe238f2058d867c5664 [^]
2015-05-27 13:17umartirenaTriggers an Emergency Pack => No
2015-05-28 09:41hgbotCheckin
2015-05-28 09:41hgbotNote Added: 0077854
2015-05-28 09:48alostaleRegression levelProduction - Confirmed Stable =>
2015-05-28 09:48alostaleRegression date2014-11-10 =>
2015-05-28 09:48alostaleRegression introduced in release3.0PR15Q1 =>
2015-05-28 09:48alostaleRegression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/6ea2e99171afc48d83a3efe238f2058d867c5664 [^] =>
2015-05-28 09:50alostaleRelationship addedrelated to 0025811
2015-05-28 09:52alostaleNote Added: 0077855
2015-05-28 09:52alostaleStatusnew => closed
2015-05-28 09:52alostaleResolutionopen => no change required

Notes
(0077854)
hgbot   
2015-05-28 09:41   
Repository: erp/mods/org.openbravo.client.application.examples
Changeset: 38b7542f505f0668eca5d9cdc0bcf844c0e714e3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 28 09:41:31 2015 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application.examples/rev/38b7542f505f0668eca5d9cdc0bcf844c0e714e3 [^]

related to issue 30028: updated example module for manual process defintion

  Now it refreshes the whole grid instead of just last selected record

---
M web/org.openbravo.client.application.examples/js/example-manual-process.js
---
(0077855)
alostale   
2015-05-28 09:52   
This is not an issue but an intended behavioral change with performance improvement purposes.

See documentation explaining how to preserve all behavior: http://wiki.openbravo.com/wiki/How_to_create_a_Manual_UI_Process#JavaScript_Implementation [^]