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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026260
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2014-04-11 17:072014-05-19 16:14
ReportermarvintmView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR14Q2.1
StatusclosedFix in branchFixed in SCM revision6eb37e7d3c1f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026260: Existing customer addresses are not saved correctly

DescriptionExisting customer addresses can be edited and saved from the Web POS. However, when this is done, all the extended attributes are not taken into account. Instead, only a couple, hardcoded ones are actually saved.
Steps To Reproduce- Extend the location model in the Web POS with a new attribute.
- Open an existing address in the POS. Modify the value of this new attribute.
- Save it. Realize that the value of this property wasn't saved in the database.
Proposed SolutionIn the CustomerAddrLoader.java class, in the method editBPartnerAddr, there is some logic missing.

At list the following lines should be added:


        Entity baseLocationEntity = ModelProvider.getInstance().getEntity(
            org.openbravo.model.common.geography.Location.class);
        JSONPropertyToEntity.fillBobFromJSON(baseLocationEntity, rootLocation, jsonCustomerAddr);

It should also be verified if the c_Bpartner_location entity should also be updated or not.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0067109)
hgbot (developer)
2014-05-13 11:48

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue May 13 11:47:28 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c [^]

Fixed issue 26260: Now, extended address properties are saved

---
M src/org/openbravo/retail/posterminal/CustomerAddrLoader.java
---
(0067116)
hgbot (developer)
2014-05-13 17:42

Repository: erp/pmods/org.openbravo.retail.posterminal.unstablenetworks
Changeset: 6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue May 13 11:47:28 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c [^]

Fixed issue 26260: Now, extended address properties are saved

---
M src/org/openbravo/retail/posterminal/CustomerAddrLoader.java
---
(0067265)
migueldejuana (developer)
2014-05-19 16:14

Tested and reviewed in 7e370f973ee7

- Issue History
Date Modified Username Field Change
2014-04-11 17:07 marvintm New Issue
2014-04-11 17:07 marvintm Assigned To => Orekaria
2014-04-11 17:07 marvintm Triggers an Emergency Pack => No
2014-05-13 11:48 hgbot Checkin
2014-05-13 11:48 hgbot Note Added: 0067109
2014-05-13 11:48 hgbot Status new => resolved
2014-05-13 11:48 hgbot Resolution open => fixed
2014-05-13 11:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c [^]
2014-05-13 17:42 hgbot Checkin
2014-05-13 17:42 hgbot Note Added: 0067116
2014-05-13 17:42 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/6eb37e7d3c1fe371d7917bb3c2af7a3cda048d0c [^]
2014-05-19 16:14 migueldejuana Review Assigned To => migueldejuana
2014-05-19 16:14 migueldejuana Note Added: 0067265
2014-05-19 16:14 migueldejuana Status resolved => closed
2014-05-19 16:14 migueldejuana Fixed in Version => RR14Q2.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker