Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044055Retail ModulesWeb POSpublic2020-05-13 16:372020-05-21 10:19
caristu 
caristu 
highminorN/A
closedfixed 
5
 
RR20Q3 
marvintm
No
0044055: Masterdata creation in IndexedDB improvements
The infrastructure to create masterdata in IndexedDB requires some improvements:

1) When a new masterdata object is created it should also be added into the model cache
2) Instead of a generic action to create any masterdata object it seems to be easier for developers to provide actions to create elements of specific masterdata models and move the current generic action as an utility one.
In description
No tags attached.
related to feature request 0043924 closed alostale Add additional infrastructure to support IndexedDB 
Issue History
2020-05-13 16:37caristuNew Issue
2020-05-13 16:37caristuAssigned To => Retail
2020-05-13 16:37caristuTriggers an Emergency Pack => No
2020-05-13 16:37caristuAssigned ToRetail => caristu
2020-05-13 16:37caristuRelationship addedrelated to 0043924
2020-05-14 09:16hgbotCheckin
2020-05-14 09:16hgbotNote Added: 0119851
2020-05-14 09:16hgbotStatusnew => resolved
2020-05-14 09:16hgbotResolutionopen => fixed
2020-05-14 09:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/48b63df127dfae82dc4ee59482cc16eac010f900 [^]
2020-05-14 09:16caristuReview Assigned To => marvintm
2020-05-21 10:19marvintmStatusresolved => closed
2020-05-21 10:19marvintmFixed in Version => RR20Q3

Notes
(0119851)
hgbot   
2020-05-14 09:16   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 48b63df127dfae82dc4ee59482cc16eac010f900
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed May 13 16:39:46 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/48b63df127dfae82dc4ee59482cc16eac010f900 [^]

Fixes ISSUE-44055: Masterdata creation in IndexedDB improvements

  - When a new masterdata object is created it should also be added into
the model cache.
  - Instead of providing a generic global action for launching the
masterdata synchronization of a newly created object, we now provide an
utility function of the Messages model that will be used for global
actions to create masterdata objects of an specific model.

---
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web-test/model/business-object/messages/Messages.test.js
M web/org.openbravo.mobile.core/app/model/business-object/messages/MessagesUtils.js
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
R web-test/model/masterdata/actions/SynchronizeMasterdata.test.js
R web/org.openbravo.mobile.core/app/model/masterdata/actions/SynchronizeMasterdata.js
---