Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036063Retail ModulesWeb POSpublic2017-05-22 12:162017-06-20 15:48
jonibc 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0036063: [SERQA 2868] JSON properties are setted only after saving the customer in postCustomerSaveHook
If some properties are added for the customer in postCustomerSaveHook,the customer is not modified after been saved and it is not possible to get the properties.
But these properties are not sent to save because:
     bpToSave.set('json', customer.serializeToJSON());
is done after
   OB.Dal.save(bpLocToSave, function () {...
Set or modify some properties to the customer in postCustomerSaveHook, those properties are not stored when the business partner is saved.
Attached file
No tags attached.
diff Proposal.diff (682) 2017-05-22 12:16
https://issues.openbravo.com/file_download.php?file_id=10775&type=bug
Issue History
2017-05-22 12:16jonibcNew Issue
2017-05-22 12:16jonibcAssigned To => Retail
2017-05-22 12:16jonibcFile Added: Proposal.diff
2017-05-22 12:16jonibcResolution time => 1496613600
2017-05-22 12:16jonibcTriggers an Emergency Pack => No
2017-05-22 12:16jonibcSummary[SERQA 2868] JSON properties are setted only after saving the customer in postCustomerSaveHook,the => [SERQA 2868] JSON properties are setted only after saving the customer in postCustomerSaveHook
2017-05-24 14:54ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-05-24 14:54ranjith_qualiantech_comStatusnew => scheduled
2017-05-25 05:37hgbotCheckin
2017-05-25 05:37hgbotNote Added: 0096770
2017-05-25 05:37hgbotStatusscheduled => resolved
2017-05-25 05:37hgbotResolutionopen => fixed
2017-05-25 05:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f2417f13e8244f1071abf6582b071d4a4111da32 [^]
2017-06-20 15:48marvintmReview Assigned To => marvintm
2017-06-20 15:48marvintmStatusresolved => closed
2017-06-20 15:48marvintmFixed in Version => RR17Q3

Notes
(0096770)
hgbot   
2017-05-25 05:37   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f2417f13e8244f1071abf6582b071d4a4111da32
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 25 09:06:35 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f2417f13e8244f1071abf6582b071d4a4111da32 [^]

Fixed issue 36063 : Customer JSON property should be set before saving

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---