Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037311Openbravo ERP07. Sales managementpublic2017-11-16 10:162017-11-27 10:22
AtulOpenbravo 
caristu 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR17Q43.0PR17Q4 
alostale
Core
Pre packaging ( pi )
2017-11-08
pi
https://code.openbravo.com/erp/devel/pi/rev/a87ba8a293e6224273bd2c70d0fcbb54d9ac8cf6 [^]
No
0037311: 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.0PR17Q4
2017-11-17 15:01hgbotCheckin
2017-11-17 15:01hgbotNote Added: 0100592
2017-11-17 15:01hgbotStatusscheduled => resolved
2017-11-17 15:01hgbotResolutionopen => fixed
2017-11-17 15:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q4/rev/9de3f82bf7d6b825b4bdcbc03a46da99740932b6 [^]
2017-11-17 15:05caristuReview Assigned To => alostale
2017-11-27 10:22alostaleNote Added: 0100728
2017-11-27 10:22alostaleStatusresolved => closed
2017-11-27 10:22alostaleFixed in Version => 3.0PR17Q4

Notes
(0100592)
hgbot   
2017-11-17 15:01   
Repository: erp/backports/3.0PR17Q4
Changeset: 9de3f82bf7d6b825b4bdcbc03a46da99740932b6
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Nov 17 14:59:23 2017 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q4/rev/9de3f82bf7d6b825b4bdcbc03a46da99740932b6 [^]

fixes bug 37311: 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
---
(0100728)
alostale   
2017-11-27 10:22   
reviewed + tested