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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050946
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2022-11-18 09:572022-11-24 09:34
Reportermeriem_azafView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050946: The default keymap category is not selected just after paying

DescriptionWhen you finish a transaction on Webpos the new ticket start and the last selected category is selected for this new ticket.
The rules should be : the default Keymap and its default category should be selected when starting a new ticket.
Steps To Reproduce1- On BO, define a category as default for a specific keymap which is the default keymap for the terminal you use.

2- Login Webpos.

3- Start a new ticket.

4- Make sure you select the keymap you previously configured.

5- Select another category than the default keymap category.

6- Select several products and switch to payment mode.

7- Pay the ticket.

After paying, automatically a new ticket is available

→ OK the selected keymap is the default one.

→ But KO the selected category should be the default category for this keymap.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0143828)
hgbot (developer)
2022-11-18 12:39

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1378 [^]
(0144059)
hgbot (developer)
2022-11-23 17:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2ec9a5794abe75536d282af767833419fdbf1faa
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 23-11-2022 15:06:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2ec9a5794abe75536d282af767833419fdbf1faa [^]

Fixes ISSUE-50946: The default keymap category is not selected just after paying

When you finish a transaction on Webpos the new ticket start and the last selected category is selected for this new ticket.
The rules should be : the default Keymap and its default category should be selected when starting a new ticket.

The problem was when you complete the ticket the SelectedKeymapCategory updated to null that why it keeps the previous id of the selected keymap category.

To fix this, we had set the selected keymap category to the default keymap category in "completeTicket.js".

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/__test__/PaymentKeypad.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/CompleteTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/CompleteTicket.js
---
(0144060)
hgbot (developer)
2022-11-23 17:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1378 [^]
(0144091)
hgbot (developer)
2022-11-24 09:34

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9c55b538a6716e502da427839237e2bd3b09201d
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 24-11-2022 09:33:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9c55b538a6716e502da427839237e2bd3b09201d [^]

Related to ISSUE-50946: Fix jslint error of wrong import in CompleteTicket.js file

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/CompleteTicket.js
---

- Issue History
Date Modified Username Field Change
2022-11-18 09:57 meriem_azaf New Issue
2022-11-18 09:57 meriem_azaf Assigned To => Retail
2022-11-18 09:57 meriem_azaf Triggers an Emergency Pack => No
2022-11-18 09:57 meriem_azaf Assigned To Retail => meriem_azaf
2022-11-18 09:57 meriem_azaf Status new => scheduled
2022-11-18 09:57 meriem_azaf Severity major => minor
2022-11-18 12:39 hgbot Note Added: 0143828
2022-11-23 17:43 hgbot Resolution open => fixed
2022-11-23 17:43 hgbot Status scheduled => closed
2022-11-23 17:43 hgbot Fixed in Version => 23Q1
2022-11-23 17:43 hgbot Note Added: 0144059
2022-11-23 17:43 hgbot Note Added: 0144060
2022-11-24 09:34 hgbot Note Added: 0144091


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker