Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044408 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2020-06-18 10:54 | 2020-06-29 08:25 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 79dc12070a21 | ||||
Projection | none | ETA | none | Target Version | RR20Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044408: [CRMConnector] After modifying properties through onPropertyValueChange values are not internally reflected | |||||||
Description | After modifying properties through onPropertyValueChange values are not internally reflected and validations fails | |||||||
Steps To Reproduce | Using module org.openbravo.retail.samplebpintegration include in file org.openbravo.retail.samplebpintegration/js/SampleBPIntegrationProxy.js the following code async onPropertyValueChange(businessPartner, property, config) { + if (property.apiKey === 'xName' && property.value === 'GAL') { + let newBp = businessPartner.clone(); + return new Promise(function(resolve) { + setTimeout(() => { + newBp.getPropertyByKey('xLastName').value = '@galopenbravo'; + newBp.getPropertyByKey('xVIP').value = true; + newBp.getPropertyByKey('xAddress').value = 'Main Street London'; + newBp.getPropertyByKey('xPhone').value = '987456123'; + newBp.getPropertyByKey('xEmail').value = 'gal@openbravo.com'; + newBp.getPropertyByKey('xBirthday').value = '1984-11-16'; + resolve(newBp); + }, 1000); + }); + } | |||||||
Proposed Solution | The object managed by main popup should be updated with the new one | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0120909) hgbot (developer) 2020-06-19 08:42 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 79dc12070a2179bbd990e03bb0dc87253cce7605 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Fri Jun 19 08:41:43 2020 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/79dc12070a2179bbd990e03bb0dc87253cce7605 [^] Fixed BUG 44408: When extBP properties are updated from API they are not reflected in sent object --- M web/org.openbravo.retail.posterminal/js/components/externalbusinesspartner_viewedit.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2020-06-18 10:54 | guilleaer | New Issue | |
2020-06-18 10:54 | guilleaer | Assigned To | => guilleaer |
2020-06-18 10:54 | guilleaer | OBNetwork customer | => No |
2020-06-18 10:54 | guilleaer | Triggers an Emergency Pack | => No |
2020-06-18 10:55 | guilleaer | File Added: issue44408.diff | |
2020-06-19 08:42 | hgbot | Checkin | |
2020-06-19 08:42 | hgbot | Note Added: 0120909 | |
2020-06-19 08:42 | hgbot | Status | new => resolved |
2020-06-19 08:42 | hgbot | Resolution | open => fixed |
2020-06-19 08:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/79dc12070a2179bbd990e03bb0dc87253cce7605 [^] |
2020-06-29 08:25 | marvintm | Review Assigned To | => marvintm |
2020-06-29 08:25 | marvintm | Status | resolved => closed |
2020-06-29 08:25 | marvintm | Fixed in Version | => RR20Q3 |
Copyright © 2000 - 2009 MantisBT Group |