Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032852Retail ModulesWeb POSpublic2016-05-04 11:562016-06-02 09:20
xabiermerino 
shivum039 
highminoralways
closedopen 
5
 
RR16Q3 
guilleaer
No
0032852: [SERQA 1052] When you select a layaway with Pay Open Tickets the label 'Layaway' does not appear
When you select a layaway with Pay Open Tickets the label 'Layaway' does not appear
1.- Create a new ticket
2.- add a product
3.- Click on Pay Open Tickets and select the ticket createdand click Done
4.- Click on the ticket and introduce an amount
5.- Realize that the ticket is now a Layaway and the label 'Layaway' appears
6.- Click on Pay Open Tickets
7.- Select a layway and click Done
8.- Realize that the label does not appear now
Show "Layaway" label for Orders as we do in Open Tickets modals.

If we add an amount to layaway in an order "To be laid away" label must be shown. If the order already has "Layaway" label, it doesn't make sense to show "To be laid away" label, so leave just "Layaway" label.
SER-QA
related to defect 0033108 new Retail When you return from multiorders window to POS window there are 2 tickets opened 
png Screenshot_2016-05-11_18-16-06.png (197,900) 2016-05-11 18:16
https://issues.openbravo.com/file_download.php?file_id=9395&type=bug
png
Issue History
2016-05-04 11:56xabiermerinoNew Issue
2016-05-04 11:56xabiermerinoAssigned To => Retail
2016-05-04 11:56xabiermerinoResolution time => 1463522400
2016-05-04 11:56xabiermerinoTriggers an Emergency Pack => No
2016-05-04 11:56xabiermerinoTag Attached: SER-QA
2016-05-04 17:06OrekariaStatusnew => acknowledged
2016-05-09 12:21shivum039Note Added: 0086305
2016-05-09 12:22shivum039Note Edited: 0086305bug_revision_view_page.php?bugnote_id=0086305#r12020
2016-05-09 13:48shivum039Assigned ToRetail => shivum039
2016-05-11 18:15amayavicenteSeveritymajor => minor
2016-05-11 18:16OrekariaFile Added: Screenshot_2016-05-11_18-16-06.png
2016-05-11 18:43amayavicenteResolution time1463522400 =>
2016-05-16 15:36shivum039Statusacknowledged => scheduled
2016-05-16 17:06migueldejuanaProposed Solution updated
2016-05-24 12:07hgbotCheckin
2016-05-24 12:07hgbotNote Added: 0086700
2016-05-24 12:15hgbotCheckin
2016-05-24 12:15hgbotNote Added: 0086701
2016-05-24 12:24shivum039Statusscheduled => resolved
2016-06-02 08:56guilleaerReview Assigned To => guilleaer
2016-06-02 08:56guilleaerNote Added: 0086901
2016-06-02 08:56guilleaerStatusresolved => closed
2016-06-02 08:56guilleaerFixed in Version => RR16Q3
2016-06-02 09:20guilleaerNote Added: 0086902
2016-06-02 09:20guilleaerRelationship addedrelated to 0033108

Notes
(0086305)
shivum039   
2016-05-09 12:21   
(edited on: 2016-05-09 12:22)
The Reason For The Above Defect is

1)Every Time When You Add Open Tickets To the Multi Order List Which Will Delete the Entire Old MultiOrder List.Add the Newly Selected Multi Order List .
 
       "me.owner.owner.model.deleteMultiOrderList();"
Because of the Above Reason ,Its not Showing the Label .

2)The Label Only Appear Only When You Tap on MultiOrderList(From POS Screen See the 4th Step From Steps To Reproduce ),Which will Open Up the Popup where you Enter amount to be laid away .

(0086700)
hgbot   
2016-05-24 12:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d13a00da0784a4c572955570059a5c5a0e5c7e35
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Wed May 18 18:39:22 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d13a00da0784a4c572955570059a5c5a0e5c7e35 [^]

Related To Issue 32852 : Label " To be laid away " Issue ,showing proper label when "pay open ticket" action is Performing .

---
M web/org.openbravo.retail.posterminal/js/components/rendermultiorderline.js
---
(0086701)
hgbot   
2016-05-24 12:15   
Repository: tools/automation/pi-mobile
Changeset: adeae06ba36c6e94f227a84d903bef286ba54a13
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Mon May 23 20:16:15 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/adeae06ba36c6e94f227a84d903bef286ba54a13 [^]

Related To Issue 32852 :Automated Test for Label " To be laid away " Issue .

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I32852_PayOpenTickets_LayAwayLabel.java
---
(0086901)
guilleaer   
2016-06-02 08:56   
Issue is OK but a new issue has appeared while reviewing this one.

When you return from multiorders window there are 2 tickets opened in web POS window. This is wrong. A new issue will be created. Once it is solved the test related to this issue should be adapted.
(0086902)
guilleaer   
2016-06-02 09:20   
new issue created:
https://issues.openbravo.com/view.php?id=33108 [^]