Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027737Retail ModulesWeb POSpublic2014-10-02 11:052015-01-13 17:47
guillermogil 
guillermogil 
normalmajoralways
closedfixed 
5
 
pi 
Orekaria
No
0027737: Order model is not correctly removing previous orders attributes, it should unset the attribute
Order model is not correctly removing previous orders attributes, it should unset the attribute. Right now it just set the value to null.
Create an order
Set a new property to order model
Close the order
Create a new one
You will see that property set to null
Unset the property instead of setting it to null
No tags attached.
diff unsetProperties.diff (510) 2014-10-02 11:06
https://issues.openbravo.com/file_download.php?file_id=7293&type=bug
Issue History
2014-10-02 11:05guillermogilNew Issue
2014-10-02 11:05guillermogilAssigned To => marvintm
2014-10-02 11:05guillermogilTriggers an Emergency Pack => No
2014-10-02 11:06guillermogilFile Added: unsetProperties.diff
2014-10-02 11:06guillermogilNote Added: 0070653
2015-01-08 11:10guillermogilIssue Monitored: marvintm
2015-01-08 11:10guillermogilReview Assigned To => marvintm
2015-01-08 11:10guillermogilAssigned Tomarvintm => guillermogil
2015-01-08 11:18hgbotCheckin
2015-01-08 11:18hgbotNote Added: 0073345
2015-01-08 11:18hgbotStatusnew => resolved
2015-01-08 11:18hgbotResolutionopen => fixed
2015-01-08 11:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/074d8f07e811fb26c4218114f0746baed164145a [^]
2015-01-09 12:23OrekariaReview Assigned Tomarvintm => Orekaria
2015-01-09 12:23OrekariaStatusresolved => closed
2015-01-09 12:23OrekariaFixed in Version => pi
2015-01-13 17:47hgbotCheckin
2015-01-13 17:47hgbotNote Added: 0073474

Notes
(0070653)
guillermogil   
2014-10-02 11:06   
You can find attached the proposed solution
(0073345)
hgbot   
2015-01-08 11:18   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 074d8f07e811fb26c4218114f0746baed164145a
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Thu Jan 08 11:17:55 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/074d8f07e811fb26c4218114f0746baed164145a [^]

Fixed issue 27737: Order model is not removing previous orders attributes

Use unset property instead of setting it to null

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0073474)
hgbot   
2015-01-13 17:47   
Repository: tools/automation/pi-mobile
Changeset: 196e02ccfc2738dc4dd74276c33efe3c9b479545
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Jan 09 12:21:50 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/196e02ccfc2738dc4dd74276c33efe3c9b479545 [^]

Related to issue 27737: Added test 'I27737_TemporaryReceiptAttributesShouldNotBeCloned'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I27737_TemporaryReceiptAttributesShouldNotBeCloned.java
---