Openbravo Issue Tracking System - POS2
View Issue Details
0048441POS2POSpublic2022-01-19 18:162022-02-11 08:54
timothee_catteeuw 
ebecerra 
normalminoralways
closedfixed 
5
 
 
guilleaer
No
0048441: JIRA 2616 - Printing ano detected concerning feature "Print last ticket"
Open after testing this issue :
https://issues.openbravo.com/view.php?id=46957 [^]

Counter of printing does not work when using this option.
After paying a ticket, I print by using “Reprint last order”, counter is equal to 2, after that I use this option again, counter is still equal to 2 and so on.

It is the same when selecting email, counter is not updated after several requests of sending duplicate ticket
Go to webpos
Do a ticket and pay it
Press "Print last ticket" option once
check your duplicate ticket --> it is mentioned "IMPRIMEE 2 fois"
Press again "Print last ticket" option
check your duplicate ticket --> it is mentioned "IMPRIMEE 2 fois"
Press again "Print last ticket" option
check your duplicate ticket --> it is mentioned "IMPRIMEE 2 fois"
and so on
increment this counter after each printing
AGPCustom
Issue History
2022-01-19 18:16timothee_catteeuwNew Issue
2022-01-19 18:16timothee_catteeuwAssigned To => Retail
2022-01-19 18:16timothee_catteeuwTriggers an Emergency Pack => No
2022-01-19 18:17timothee_catteeuwTag Attached: AGPCustom
2022-01-20 12:38ebecerraAssigned ToRetail => ebecerra
2022-01-20 12:38ebecerraStatusnew => scheduled
2022-01-25 10:33hgbotNote Added: 0134546
2022-01-28 12:40hgbotNote Added: 0134655
2022-01-28 12:40hgbotNote Added: 0134656
2022-01-28 12:40hgbotNote Added: 0134657
2022-01-28 12:40hgbotNote Added: 0134658
2022-02-07 15:33guilleaerStatusscheduled => resolved
2022-02-07 15:33guilleaerResolutionopen => fixed
2022-02-07 15:33guilleaerReview Assigned To => javierRodriguez
2022-02-07 15:33guilleaerStatusresolved => closed
2022-02-08 11:55timothee_catteeuwNote Added: 0134831
2022-02-08 11:56timothee_catteeuwStatusclosed => new
2022-02-08 12:07timothee_catteeuwNote Edited: 0134831bug_revision_view_page.php?bugnote_id=0134831#r23640
2022-02-08 12:08timothee_catteeuwNote Edited: 0134831bug_revision_view_page.php?bugnote_id=0134831#r23641
2022-02-11 08:53guilleaerNote Added: 0134900
2022-02-11 08:53guilleaerStatusnew => scheduled
2022-02-11 08:53guilleaerStatusscheduled => resolved
2022-02-11 08:54guilleaerReview Assigned TojavierRodriguez => guilleaer
2022-02-11 08:54guilleaerNote Added: 0134901
2022-02-11 08:54guilleaerStatusresolved => closed

Notes
(0134546)
hgbot   
2022-01-25 10:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/790 [^]
(0134655)
hgbot   
2022-01-28 12:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4bfe1e7c295d03fac967fdcf7aab7d6b6835fe64
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 28-01-2022 09:15:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4bfe1e7c295d03fac967fdcf7aab7d6b6835fe64 [^]

Related ISSUE-48441: Change "ReprintLastOrderReceipt" from StateUserAction to UserAction to allow call all hooks stack

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/ReprintLastOrderReceipt.js
---
(0134656)
hgbot   
2022-01-28 12:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 82a7260b44e0fbd2a808e1d6098c47b8ee489b9c
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 28-01-2022 09:15:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/82a7260b44e0fbd2a808e1d6098c47b8ee489b9c [^]

Related ISSUE-48441: Fixes the test: "ReprintLastOrderReceiptUserAction.test.js"

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ReprintLastOrderReceiptUserAction.test.js
---
(0134657)
hgbot   
2022-01-28 12:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 0d3385047b81661a66cdfecc576ce3ca8b26e416
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 28-01-2022 10:00:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0d3385047b81661a66cdfecc576ce3ca8b26e416 [^]

Related ISSUE-48441: Remove actions "ReprintLastOrderReceipt"

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/UIExtension.js
R web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ReprintLastOrderReceipt.test.js
R web-jspack/org.openbravo.pos2/src/model/user-interface/actions/ReprintLastOrderReceipt.js
---
(0134658)
hgbot   
2022-01-28 12:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/790 [^]
(0134831)
timothee_catteeuw   
2022-02-08 11:55   
(edited on: 2022-02-08 12:08)
I re opened, this use case does not work :
- do and pay a ticket
- select print, the counter is 1 --> OK
- press the button Reprint last ticket
- select print, the counter is 2 --> OK
- press the button Reprint last ticket
- select print + email,
the counter is 3 in the ticket --> OK
the counter is 2 in the pdf attached to the email --> KO

(0134900)
guilleaer   
2022-02-11 08:53   
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.reports/-/merge_requests/29 [^]
(0134901)
guilleaer   
2022-02-11 08:54   
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.reports/-/merge_requests/29 [^]

Closed after fix the scenario