Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044408
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2020-06-18 10:542020-06-29 08:25
ReporterguilleaerView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision79dc12070a21
ProjectionnoneETAnoneTarget VersionRR20Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044408: [CRMConnector] After modifying properties through onPropertyValueChange values are not internally reflected

DescriptionAfter modifying properties through onPropertyValueChange values are not internally reflected and validations fails
Steps To ReproduceUsing 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 SolutionThe object managed by main popup should be updated with the new one
TagsNo tags attached.
Attached Filesdiff file icon issue44408.diff [^] (1,996 bytes) 2020-06-18 10:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- Issue History
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 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
Powered by Mantis Bugtracker