Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037726Retail ModulesWeb POSpublic2018-01-25 13:292018-02-27 18:10
ranjith_qualiantech_com 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR18Q2 
marvintm
No
0037726: Models need to be saved again while loading from remote
When loading models from remote, its need to be saved again if it is already exists
See Description
Use "save" instead of "saveIfNew" while loading the models
No tags attached.
related to defect 0037709 closed ranjith_qualiantech_com Offline login is not working if "Enable Remote for Customer" preference is active 
patch issue 37726 soure posterminal.patch (5,935) 2018-02-06 07:02
https://issues.openbravo.com/file_download.php?file_id=11544&type=bug
patch issue 37726 soure returns.patch (1,096) 2018-02-06 07:02
https://issues.openbravo.com/file_download.php?file_id=11545&type=bug
patch issue 37726 soure mobilecore.patch (1,470) 2018-02-06 08:11
https://issues.openbravo.com/file_download.php?file_id=11549&type=bug
Issue History
2018-01-25 13:29ranjith_qualiantech_comNew Issue
2018-01-25 13:29ranjith_qualiantech_comAssigned To => ranjith_qualiantech_com
2018-01-25 13:29ranjith_qualiantech_comTriggers an Emergency Pack => No
2018-01-31 11:05ranjith_qualiantech_comRelationship addedrelated to 0037709
2018-01-31 13:13ranjith_qualiantech_comSummaryModels needs not to be saved while loading from local database => Models need to be saved again while loading from remote
2018-01-31 13:13ranjith_qualiantech_comDescription Updatedbug_revision_view_page.php?rev_id=16615#r16615
2018-01-31 13:13ranjith_qualiantech_comProposed Solution updated
2018-01-31 13:13ranjith_qualiantech_comStatusnew => scheduled
2018-02-02 11:49ranjith_qualiantech_comFile Added: issue 37726 soure posterminal.patch
2018-02-06 06:54ranjith_qualiantech_comFile Deleted: issue 37726 soure posterminal.patch
2018-02-06 07:02ranjith_qualiantech_comFile Added: issue 37726 soure posterminal.patch
2018-02-06 07:02ranjith_qualiantech_comFile Added: issue 37726 soure returns.patch
2018-02-06 08:11ranjith_qualiantech_comFile Added: issue 37726 soure mobilecore.patch
2018-02-06 09:38hgbotCheckin
2018-02-06 09:38hgbotNote Added: 0102204
2018-02-06 09:39hgbotCheckin
2018-02-06 09:39hgbotNote Added: 0102205
2018-02-06 09:39hgbotCheckin
2018-02-06 09:39hgbotNote Added: 0102206
2018-02-06 15:00ranjith_qualiantech_comStatusscheduled => resolved
2018-02-06 15:00ranjith_qualiantech_comResolutionopen => fixed
2018-02-27 18:10marvintmReview Assigned To => marvintm
2018-02-27 18:10marvintmStatusresolved => closed
2018-02-27 18:10marvintmFixed in Version => RR18Q2

Notes
(0102204)
hgbot   
2018-02-06 09:38   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1dc8bfd02bef454d937821d10c325e75ad4eb3a6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 06 14:08:37 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1dc8bfd02bef454d937821d10c325e75ad4eb3a6 [^]

Related to issue 37726 : Added new dal method saveOrUpdate

* saveOrUpdate, It will check whether model is present in local db, if it is present then it will update in localdb else it will insert.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0102205)
hgbot   
2018-02-06 09:39   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: d2717294755fa367ac183009f6e20b6a78c65dd6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 06 14:08:47 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/d2717294755fa367ac183009f6e20b6a78c65dd6 [^]

Related to issue 37726 : Model should be saved again in local, if its loaded from remote and already exist in local db

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0102206)
hgbot   
2018-02-06 09:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f65ef116ba2e2c480ba8e6e2de57ca8cc861d35e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 06 14:09:00 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f65ef116ba2e2c480ba8e6e2de57ca8cc861d35e [^]

Related to issue 37726 : Model should be saved again in local, if its loaded from remote and already exist in local db

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---