Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017298Openbravo ERPA. Platformpublic2011-05-20 13:362014-11-28 11:49
shuehner 
alostale 
highmajorhave not tried
closedfixed 
5
pi 
3.0PR15Q1 
alostale
User Interface Application
No
0017298: Performance: too many request fired after completing an order (probably to refresh data)
After completing a sales order (just after the processing popup finishes) the data shown is refreshed. However all of the following requests are send to do that:

3* post order
1* post orderline
fic edit
post order
fic edit
post orderline

have a sales (type pos order) + one line for a product
sales order in edit view
lines in grid view
while having focus on header use the 'complete' button
confirm the process in the popup
check requests done just after the popup closes/finishes
nextMP, Performance
related to design defect 0025811 closed AugustoMauch unnecessary request on grid refresh 
Issue History
2011-05-20 13:36shuehnerNew Issue
2011-05-20 13:36shuehnerAssigned To => alostale
2011-05-20 13:36shuehnerModules => User Interface Application
2011-05-23 08:08alostaleStatusnew => scheduled
2011-06-02 10:53dmitry_mezentsevTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-08-03 11:58psarobeTarget Version3.0MP2 => 3.0MP4
2011-09-27 13:03alostaleTarget Version3.0MP4 => 3.0MP5
2011-10-16 11:16shuehnerNote Added: 0041843
2011-10-31 14:28alostaleTarget Version3.0MP5 => 3.0MP6
2011-11-15 08:41alostaleTag Attached: nextMP
2011-11-15 08:58alostaleTarget Version3.0MP6 =>
2011-11-23 10:44alostaleTypedefect => design defect
2012-09-24 21:17AugustoMauchNote Added: 0052441
2012-09-24 21:17AugustoMauchPrioritynormal => high
2013-10-07 14:24shuehnerTag Attached: Performance
2014-11-28 11:46alostaleRelationship addedrelated to 0025811
2014-11-28 11:49alostaleReview Assigned To => alostale
2014-11-28 11:49alostaleNote Added: 0072108
2014-11-28 11:49alostaleStatusscheduled => closed
2014-11-28 11:49alostaleResolutionopen => fixed
2014-11-28 11:49alostaleFixed in Version => 3.0PR15Q1

Notes
(0041843)
shuehner   
2011-10-16 11:16   
Retested in live.builds.pi still happens and worse:
Requests happening for refresh after i.e. reactivate order:

post order, load one row
post order, load one row
get tabmessage
post order, reload grid
update recent docs list
fic edit, child row
post orderline, filter value=-1, empty result
post order, load one row
post orderline, reload grid
update recent docs list
fic edit, child row
(0052441)
AugustoMauch   
2012-09-24 21:17   
Effort: 5
Impact: high
Plan: short
(0072108)
alostale   
2014-11-28 11:49   
Fixed in the scope of the project 0025811

Now the requests are:

1. Order datasource only for selected record
2. FIC Order (EDIT mode)
3. OrderLine datasource
4. FIC OrderLine (SETSESSION mode), because there is a single line and it is automatically selected