Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037312Openbravo ERP07. Sales managementpublic2017-11-16 10:162017-11-27 10:23
AtulOpenbravo 
caristu 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR17Q3.23.0PR17Q3.2 
alostale
Core
Pre packaging ( pi )
2017-11-08
pi
https://code.openbravo.com/erp/devel/pi/rev/a87ba8a293e6224273bd2c70d0fcbb54d9ac8cf6 [^]
No
0037312: Sales Order selector in Generate Invoice process does not wok properly
Sales Order selector based on OB UI Selector reference in Generate Invoices process does not wok properly. It is not visible.
- Login as F&B International Group Admin
- Navigate to Generate Invoices process (Sales Management | Transaction | Generate Invoices)
- Realize that no selector appears in front of Label Sales Order.
No tags attached.
blocks defect 0037303 closed caristu Sales Order selector in Generate Invoice process does not wok properly 
Issue History
2017-11-16 16:44caristuTypedefect => backport
2017-11-16 16:44caristuTarget Version => 3.0PR17Q3.2
2017-11-17 15:04hgbotCheckin
2017-11-17 15:04hgbotNote Added: 0100594
2017-11-17 15:04hgbotStatusscheduled => resolved
2017-11-17 15:04hgbotResolutionopen => fixed
2017-11-17 15:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q3.2/rev/3c5476b6209f35d0ccfcc5c4e39b29d3327e2f71 [^]
2017-11-17 15:05caristuReview Assigned To => alostale
2017-11-27 10:23alostaleNote Added: 0100729
2017-11-27 10:23alostaleStatusresolved => closed
2017-11-27 10:23alostaleFixed in Version => 3.0PR17Q3.2

Notes
(0100594)
hgbot   
2017-11-17 15:04   
Repository: erp/backports/3.0PR17Q3.2
Changeset: 3c5476b6209f35d0ccfcc5c4e39b29d3327e2f71
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Nov 17 15:03:14 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.2/rev/3c5476b6209f35d0ccfcc5c4e39b29d3327e2f71 [^]

fixes issue 37312: OB created partially in old processes shown in 3.0 windows

  With the changes introduced on issue 0035553, the OB object is generated in two stages: it is initialized when the JS static resources are loaded and secondly additional session data is included with the SessionDynamic request.

  In old processes inside 3.0 windows, a request to load the JS static resources is done but the SessionDynamic request is not. As a result, the OB object was generated partially. This caused JS errors when referencing to the missing data.

  To fix this issue, now when we are in an old process loaded inside a 3.0 window, instead of generating the OB object from scratch, it is cloned from the main OB object of the application which is generated right after logging in.

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl
---
(0100729)
alostale   
2017-11-27 10:23   
reviewed + tested