Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032634Retail ModulesWeb POSpublic2016-04-08 14:222016-05-18 23:16
lorenzofidalgo 
mario_castello 
urgentmajoralways
closedfixed 
5
main 
RR16Q3 
guilleaer
No
0032634: [RR16Q2] [DeleteLines] [MultipleLineSelection] "Keep Track Of Deleted Ticket Lines" feature induces that receipts are not saved
If a user selects several lines of a receipt and delete those lines, that receipt is not going to be saved correctly. In POS backend, instead of appear in "Sales Order" window, it is going to appear in "Errors While Importing POS Data".

Check attached error messages from "Errors While Importing POS Data".
Login in backend and configure the Web POS Save Removed Tickets Preference for the user vallblanca.

0-Login POS as vallblanca.
1-Add to the receipt 1x "Adhesive body warmers" and 1x "Alpine skiing backpack 27L".
2-Select both lines using Multiple Line Selection feature and click on Delete button to remove those lines.
3-Click on "Delete Receipt" button and accept. A message with successful status will appear.
4-Go to POS backend and check the record does not appear in "Sales Order" window. It does appear in "Errors While Importing POS Data". Check it.
No tags attached.
depends on backport 0032661RR16Q2 closed Retail [RR16Q2] [MultipleLineSelection] "Keep Track Of Deleted Ticket Lines" feature induces that receipts are not saved 
png MultipleLineSelection.png (342,544) 2016-04-08 14:22
https://issues.openbravo.com/file_download.php?file_id=9251&type=bug
? JSONOrderData (41,101) 2016-04-08 14:24
https://issues.openbravo.com/file_download.php?file_id=9252&type=bug
? ErrorWhileImportingPOSData (3,823) 2016-04-08 14:24
https://issues.openbravo.com/file_download.php?file_id=9253&type=bug
? Issue32634.export (1,213) 2016-04-13 12:52
https://issues.openbravo.com/file_download.php?file_id=9262&type=bug
Issue History
2016-04-08 14:22lorenzofidalgoNew Issue
2016-04-08 14:22lorenzofidalgoAssigned To => Retail
2016-04-08 14:22lorenzofidalgoFile Added: MultipleLineSelection.png
2016-04-08 14:22lorenzofidalgoTriggers an Emergency Pack => No
2016-04-08 14:24lorenzofidalgoFile Added: JSONOrderData
2016-04-08 14:24lorenzofidalgoFile Added: ErrorWhileImportingPOSData
2016-04-11 17:17OrekariaSummary[RR16Q2] Multiple line selection with "Keep Track Of Deleted Ticket Lines" feature induces that receipts are not saved => [RR16Q2] [MultipleLineSelection] "Keep Track Of Deleted Ticket Lines" feature induces that receipts are not saved
2016-04-11 17:19OrekariaAssigned ToRetail => SoftwareFactory
2016-04-11 17:26lorenzofidalgoSeverityminor => major
2016-04-13 12:52aaroncaleroFile Added: Issue32634.export
2016-04-13 12:52aaroncaleroNote Added: 0085602
2016-04-13 13:07aaroncaleroAssigned ToSoftwareFactory => Retail
2016-04-13 13:24OrekariaStatusnew => scheduled
2016-04-13 13:25OrekariaStatusscheduled => acknowledged
2016-04-14 16:23mario_castelloAssigned ToRetail => mario_castello
2016-04-14 18:10mario_castelloStatusacknowledged => scheduled
2016-04-19 19:08hgbotCheckin
2016-04-19 19:08hgbotNote Added: 0085756
2016-04-25 17:35mario_castelloNote Added: 0085962
2016-04-25 17:35mario_castelloAssigned Tomario_castello => lorenzofidalgo
2016-04-25 17:35mario_castelloStatusscheduled => feedback
2016-04-25 18:06aaroncaleroNote Added: 0085965
2016-04-25 18:07aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11857#r11857
2016-04-25 18:25lorenzofidalgoAssigned Tolorenzofidalgo => mario_castello
2016-04-26 08:54lorenzofidalgoStatusfeedback => new
2016-04-27 21:46hgbotCheckin
2016-04-27 21:46hgbotNote Added: 0086031
2016-04-27 21:49mario_castelloNote Added: 0086032
2016-04-27 21:58mario_castelloNote Added: 0086033
2016-04-27 21:58mario_castelloStatusnew => feedback
2016-04-27 22:00mario_castelloAssigned Tomario_castello => lorenzofidalgo
2016-04-28 09:22lorenzofidalgoNote Added: 0086041
2016-04-28 09:22lorenzofidalgoAssigned Tolorenzofidalgo => mario_castello
2016-04-28 09:22lorenzofidalgoStatusfeedback => new
2016-04-28 14:13OrekariaStatusnew => scheduled
2016-05-04 15:33marvintmTarget VersionRR16Q2 =>
2016-05-05 16:32OrekariaSummary[RR16Q2] [MultipleLineSelection] "Keep Track Of Deleted Ticket Lines" feature induces that receipts are not saved => [RR16Q2] [DeleteLines] [MultipleLineSelection] "Keep Track Of Deleted Ticket Lines" feature induces that receipts are not saved
2016-05-09 17:34hgbotCheckin
2016-05-09 17:34hgbotNote Added: 0086320
2016-05-09 17:34hgbotStatusscheduled => resolved
2016-05-09 17:34hgbotResolutionopen => fixed
2016-05-09 17:34hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/fbdeb283af9fce6f2199ae457bb1e3c8cf1f6fc2 [^]
2016-05-09 18:03hgbotCheckin
2016-05-09 18:03hgbotNote Added: 0086321
2016-05-18 23:16guilleaerReview Assigned To => guilleaer
2016-05-18 23:16guilleaerStatusresolved => closed
2016-05-18 23:16guilleaerFixed in Version => RR16Q3

Notes
(0085602)
aaroncalero   
2016-04-13 12:52   
Attached a possible fix for the issue
(0085756)
hgbot   
2016-04-19 19:08   
Repository: tools/automation/pi-mobile
Changeset: 776b749fc7f865c5bc7a7cf4fa4116b2465a6bd6
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Apr 19 11:05:09 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/776b749fc7f865c5bc7a7cf4fa4116b2465a6bd6 [^]

Related to issue 32634: Added automated test

---
A src-test/org/openbravo/test/mobile/quarantine/pack/MCA/multiselection/I32634_MultiSelectionDeleteLines.java
---
(0085962)
mario_castello   
2016-04-25 17:35   
We cannot reproduce the issue
(0085965)
aaroncalero   
2016-04-25 18:06   
Added missing step to the steps to reproduce.
It is needed to set the Web POS Save removed Tickets preference
(0086031)
hgbot   
2016-04-27 21:46   
Repository: tools/automation/pi-mobile
Changeset: a152faff5afe4584285bb33484dfa6a6e8b8c152
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Apr 27 13:46:15 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a152faff5afe4584285bb33484dfa6a6e8b8c152 [^]

Related to issue 32634: Added new changes to automated test

---
M src-test/org/openbravo/test/mobile/quarantine/pack/MCA/multiselection/I32634_MultiSelectionDeleteLines.java
---
(0086032)
mario_castello   
2016-04-27 21:49   
The automated test active the preference and verified that the receipt has been created correctly.
(0086033)
mario_castello   
2016-04-27 21:58   
We cannot reproduce the issue in live.
(0086041)
lorenzofidalgo   
2016-04-28 09:22   
As you can see in the summary, it is reproducible in [RR16Q2]
(0086320)
hgbot   
2016-05-09 17:34   
Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal
Changeset: fbdeb283af9fce6f2199ae457bb1e3c8cf1f6fc2
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon May 09 09:30:38 2016 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/fbdeb283af9fce6f2199ae457bb1e3c8cf1f6fc2 [^]

Fixed issue 32634: Added validation to applyPromotionsImp function

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
---
(0086321)
hgbot   
2016-05-09 18:03   
Repository: tools/automation/pi-mobile
Changeset: 360283c458101999ead57c1846a06fb8b68897b9
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon May 09 09:44:12 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/360283c458101999ead57c1846a06fb8b68897b9 [^]

Related to issue 32634: Added new automated test I32634_MultiSelectionDeleteLinesII

---
A src-test/org/openbravo/test/mobile/quarantine/pack/MCA/multiselection/I32634_MultiSelectionDeleteLinesII.java
---