Openbravo Issue Tracking System - Modules
View Issue Details
0041797ModulesAdvanced Warehouse Operationspublic2019-09-11 15:592019-09-12 09:04
guilleaer 
guilleaer 
normalmajorhave not tried
closedfixed 
5
 
 
marvintm
0041797: AWO FE login is not working if organization is different o the previous login
Some data loaded in AWO FE is reloaded based on the organization.

To do that we were removing the table from local database when a org change is detected, but because the preference -OBMOBC_NotAutoLoadIncrementalAtLogin- has been set by default to Y, then new data is not reloaded and table not created in the next login.
Login in awo fe using awo_us_w (openbravo)
Logout
Login in awo fe using awo_us_e (openbravo)

You will see that an error is raised
Instead of remove table -> truncate
Create a flag in Terminal model to force load models in login overriding preference "OBMOBC_NotAutoLoadIncrementalAtLogin"
No tags attached.
Issue History
2019-09-11 15:59guilleaerNew Issue
2019-09-11 15:59guilleaerAssigned To => guilleaer
2019-09-11 17:29hgbotCheckin
2019-09-11 17:29hgbotNote Added: 0114526
2019-09-11 17:29hgbotStatusnew => resolved
2019-09-11 17:29hgbotResolutionopen => fixed
2019-09-11 17:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/48920830bf512e3f4d6de0baa5545f4a9624cf1a [^]
2019-09-11 17:29hgbotCheckin
2019-09-11 17:29hgbotNote Added: 0114527
2019-09-11 17:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/48920830bf512e3f4d6de0baa5545f4a9624cf1a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b708bcf18bf135d420c537871255ba424b73c8c9 [^]
2019-09-12 09:04marvintmReview Assigned To => marvintm
2019-09-12 09:04marvintmStatusresolved => closed
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0114526)
hgbot   
2019-09-11 17:29   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 48920830bf512e3f4d6de0baa5545f4a9624cf1a
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Sep 11 16:01:45 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/48920830bf512e3f4d6de0baa5545f4a9624cf1a [^]

Fixed issue 41797: Login with dif org is now working again

---
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/hookimplementations/obawo-obmobc_profiledialogapply.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/terminal/obawo-terminal.js
---
(0114527)
hgbot   
2019-09-11 17:29   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b708bcf18bf135d420c537871255ba424b73c8c9
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Sep 11 16:03:24 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b708bcf18bf135d420c537871255ba424b73c8c9 [^]

Fixed issue 41797: Check if terminal is define to force LoadModels on login

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---