Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048441
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2022-01-19 18:162022-02-11 08:54
Reportertimothee_catteeuwView Statuspublic 
Assigned Toebecerra 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048441: JIRA 2616 - Printing ano detected concerning feature "Print last ticket"

DescriptionOpen 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
Steps To ReproduceGo 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
Proposed Solutionincrement this counter after each printing
TagsAGPCustom
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134546)
hgbot (developer)
2022-01-25 10:33

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/790 [^]
(0134655)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
2022-01-28 12:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/790 [^]
(0134831)
timothee_catteeuw (developer)
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 (manager)
2022-02-11 08:53

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

https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.reports/-/merge_requests/29 [^]

Closed after fix the scenario

- Issue History
Date Modified Username Field Change
2022-01-19 18:16 timothee_catteeuw New Issue
2022-01-19 18:16 timothee_catteeuw Assigned To => Retail
2022-01-19 18:16 timothee_catteeuw Triggers an Emergency Pack => No
2022-01-19 18:17 timothee_catteeuw Tag Attached: AGPCustom
2022-01-20 12:38 ebecerra Assigned To Retail => ebecerra
2022-01-20 12:38 ebecerra Status new => scheduled
2022-01-25 10:33 hgbot Note Added: 0134546
2022-01-28 12:40 hgbot Note Added: 0134655
2022-01-28 12:40 hgbot Note Added: 0134656
2022-01-28 12:40 hgbot Note Added: 0134657
2022-01-28 12:40 hgbot Note Added: 0134658
2022-02-07 15:33 guilleaer Status scheduled => resolved
2022-02-07 15:33 guilleaer Resolution open => fixed
2022-02-07 15:33 guilleaer Review Assigned To => javierRodriguez
2022-02-07 15:33 guilleaer Status resolved => closed
2022-02-08 11:55 timothee_catteeuw Note Added: 0134831
2022-02-08 11:56 timothee_catteeuw Status closed => new
2022-02-08 12:07 timothee_catteeuw Note Edited: 0134831 View Revisions
2022-02-08 12:08 timothee_catteeuw Note Edited: 0134831 View Revisions
2022-02-11 08:53 guilleaer Note Added: 0134900
2022-02-11 08:53 guilleaer Status new => scheduled
2022-02-11 08:53 guilleaer Status scheduled => resolved
2022-02-11 08:54 guilleaer Review Assigned To javierRodriguez => guilleaer
2022-02-11 08:54 guilleaer Note Added: 0134901
2022-02-11 08:54 guilleaer Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker