Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032850Retail ModulesWeb POSpublic2016-05-04 11:402016-05-18 13:46
shivum039 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
migueldejuana
Coding ( Testing )
main
No
0032850: [RR16Q2] [SERVICES] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It.
Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added.
Here no Buttons Should Be Visible when Receipt without Products Added to It (See the Attached Screen Shot i.e Currect.png) . But the Buttons Are Visible (See the Attached Screen Shot incurrect.png) .
1) Login into Pos Window .

2) Click on Edit (Verify that No Buttons Are visible i.e delete,description,returnLine,Check Stock)

3) Add Product "Avalanche transceiver "

4) Click on Just Added Product .

5) Verify That All Buttons in the Edit Tool bar are Visible .

6) Delete the Receipt .

7) Click on Edit Button bar .

8) Observe the Visible Buttons in the Right side (Edit Tool Bar Buttons) .

9)Click on delete Button (Edit Tool bar)

10) Several javascript errors are shown (see attached screenshot)
Nothing should be shown (see currect.png attached screenshot)
No tags attached.
depends on backport 0032853RR16Q2 closed ranjith_qualiantech_com [RR16Q2] [SERVICES] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It. 
related to defect 0033318 closed ranjith_qualiantech_com [SER QA 1327] Product info available after deleting return ticket 
png InCurrect .png (217,276) 2016-05-04 11:40
https://issues.openbravo.com/file_download.php?file_id=9358&type=bug
png

png Currect.png (184,857) 2016-05-04 11:52
https://issues.openbravo.com/file_download.php?file_id=9359&type=bug
png

png javascripterrors.png (268,056) 2016-05-04 12:48
https://issues.openbravo.com/file_download.php?file_id=9361&type=bug
Issue History
2016-05-04 11:40shivum039New Issue
2016-05-04 11:40shivum039Assigned To => Retail
2016-05-04 11:40shivum039File Added: InCurrect .png
2016-05-04 11:40shivum039Triggers an Emergency Pack => No
2016-05-04 11:52shivum039File Added: Currect.png
2016-05-04 11:53shivum039SummaryEdit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added . => Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It.
2016-05-04 12:43OrekariaRegression level => Coding ( Testing )
2016-05-04 12:43OrekariaRegression introduced in release => main
2016-05-04 12:43OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11962#r11962
2016-05-04 12:48OrekariaFile Added: javascripterrors.png
2016-05-04 12:48OrekariaStatusnew => acknowledged
2016-05-04 12:50OrekariaSummaryEdit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It. => [RR16Q2] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It.
2016-05-04 12:50OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11963#r11963
2016-05-04 12:50OrekariaProposed Solution updated
2016-05-04 12:50OrekariaSummary[RR16Q2] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It. => [RR16Q2] [services] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It.
2016-05-04 12:51OrekariaSummary[RR16Q2] [services] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It. => [RR16Q2] [SERVICES] Edit Tool-Bar Buttons Are not Hidden when There is receipt with no Products Added To It.
2016-05-04 12:52OrekariaStatusacknowledged => scheduled
2016-05-04 12:52OrekariaStatusscheduled => acknowledged
2016-05-05 13:33ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-05-05 13:33ranjith_qualiantech_comStatusacknowledged => scheduled
2016-05-09 04:44hgbotCheckin
2016-05-09 04:44hgbotNote Added: 0086288
2016-05-09 04:44hgbotStatusscheduled => resolved
2016-05-09 04:44hgbotResolutionopen => fixed
2016-05-09 04:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f3cdfee595c11c67051b8c28e66f5eb4c3ff3177 [^]
2016-05-18 13:33ranjith_qualiantech_comNote Added: 0086548
2016-05-18 13:46migueldejuanaReview Assigned To => migueldejuana
2016-05-18 13:46migueldejuanaNote Added: 0086550
2016-05-18 13:46migueldejuanaStatusresolved => closed
2016-06-21 15:18ranjith_qualiantech_comRelationship addedrelated to 0033318

Notes
(0086288)
hgbot   
2016-05-09 04:44   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f3cdfee595c11c67051b8c28e66f5eb4c3ff3177
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 09 08:08:30 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f3cdfee595c11c67051b8c28e66f5eb4c3ff3177 [^]

Fixes issue 32850 : Hide Edit tab buttons when the receipt is empty

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/editline.js
---
(0086548)
ranjith_qualiantech_com   
2016-05-18 13:33   
Changes in Fix :http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f3cdfee595c11c67051b8c28e66f5eb4c3ff3177 [^]
1) Formatted Code in rearrangeEditButtonBar() fn
2) SelectedModels & line has to be reset whenever the receipt line length is changed. So receipt Change event has been added to verify the receipt length
(0086550)
migueldejuana   
2016-05-18 13:46   
Tested and reviewed in ec98fed2ca51