Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035915Retail ModulesWeb POSpublic2017-05-04 09:042017-05-17 13:42
marvintm 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0035915: Additional properties in sales order lines are not set in the corresponding verified return line
It's currently possible to define additional properties at line level which are then included in a loaded receipt when read from the backend.

These properties are also loaded when using the Verified Returns popup, but when the verified return lines are created, these additional properties are not included in the lines.
- Create an extension module, and add properties associated to the paidReceiptsLinesPropertyExtension qualifier.
- Create a receipt in the Web POS and set these properties. Save it to the backend.
- Load the receipt from the backend using the Receipts selector. Verify that the properties are loaded correctly, by checking the OB.MobileApp.model.attributes.lines property.
- Select Verified Returns, and select the saved ticket. Return it.
- Verify that the return order lines do not contain the extended attributes.
Attached proposed solution, which needs to be validated.
No tags attached.
diff issue35915.diff (2,220) 2017-05-04 09:05
https://issues.openbravo.com/file_download.php?file_id=10719&type=bug
Issue History
2017-05-04 09:04marvintmNew Issue
2017-05-04 09:04marvintmAssigned To => Retail
2017-05-04 09:04marvintmTriggers an Emergency Pack => No
2017-05-04 09:05marvintmFile Added: issue35915.diff
2017-05-04 14:27ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-05-04 14:27ranjith_qualiantech_comStatusnew => scheduled
2017-05-08 13:41hgbotCheckin
2017-05-08 13:41hgbotNote Added: 0096456
2017-05-08 13:41hgbotStatusscheduled => resolved
2017-05-08 13:41hgbotResolutionopen => fixed
2017-05-08 13:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/dedbdf8b79576337801b7d10f386e18f613c993a [^]
2017-05-08 13:41hgbotCheckin
2017-05-08 13:41hgbotNote Added: 0096457
2017-05-17 13:42marvintmReview Assigned To => marvintm
2017-05-17 13:42marvintmStatusresolved => closed
2017-05-17 13:42marvintmFixed in Version => RR17Q3

Notes
(0096456)
hgbot   
2017-05-08 13:41   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: dedbdf8b79576337801b7d10f386e18f613c993a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 08 17:10:54 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/dedbdf8b79576337801b7d10f386e18f613c993a [^]

Fixed issue 35915 : Replaced Selected Line properties with Whole line property while creating line from verified returns

* While creating line from verified returns, whole line object will be as attr instead of selected properties. This will avoid the properties from external modules

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0096457)
hgbot   
2017-05-08 13:41   
Repository: tools/automation/pi-mobile
Changeset: b579cf4f48ddf2ccb40a3d8f54b1bb4afacf9942
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 08 17:10:46 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b579cf4f48ddf2ccb40a3d8f54b1bb4afacf9942 [^]

Verifies issue 35915 : Modified automated test 'VerifyOwnSeqVerifiedReturns'

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/servicesequence/VerifyOwnSeqVerifiedReturns.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/servicesequence/VerifyServSeqVerifiedReturns.java
---