Openbravo Issue Tracking System - POS2
View Issue Details
0046565POS2POSpublic2021-05-06 17:392021-07-02 10:44
jmelin 
hernan-dp 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
No
0046565: JIRA 1615 - Default keymap category not selected after terminating an order
After an order is done, the POS should display the category selected as default.
    Pre-requisites:
Define keymap
Define a keymap category and a default category for each keymap (not the 1st one)

Steps:
1. Connect to POS
2. Switch to a schema where the default category is not show on the first page
=> the default category is not displayed in the first page

3. Add a product from a non-default category
4. Finish the order
=> after the sales order is completed, it must go back to the default category of the keymap, but remains on the latest selected instead

5. Log out
6. Log in
=> the default schema/default category must be selected , but it's the latest used instead

=> the POS display the latest selected category instead of default one
Takeaway
depends on backport 0046806TAP closed hernan-dp JIRA 1615 - Default keymap category not selected after terminating an order 
has duplicate defect 0046939 closed gorka_gil JIRA 1950 - Default keymap category not selected 
Issue History
2021-05-06 17:39jmelinNew Issue
2021-05-06 17:39jmelinAssigned To => Retail
2021-05-06 17:39jmelinTriggers an Emergency Pack => No
2021-05-06 17:39jmelinTag Attached: Takeaway
2021-05-07 11:15jmelinSeverityminor => major
2021-05-07 11:17guilleaerResolution time => 1623016800
2021-05-07 11:17guilleaerSeveritymajor => minor
2021-05-07 11:18guilleaerStatusnew => acknowledged
2021-05-24 11:16jmelinNote Added: 0128553
2021-05-24 11:16jmelinSeverityminor => major
2021-05-24 12:44guilleaerStatusacknowledged => scheduled
2021-05-24 12:44guilleaerStatusscheduled => acknowledged
2021-05-27 12:37hernan-dpAssigned ToRetail => hernan-dp
2021-05-27 12:38hernan-dpStatusacknowledged => scheduled
2021-05-27 14:45hernan-dpNote Added: 0128719
2021-06-02 16:26hgbotNote Added: 0128955
2021-06-02 18:21AugustoMauchRelationship addedhas duplicate 0046939
2021-06-02 18:23AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22660#r22660
2021-06-05 00:56guilleaerNote Deleted: 0128719
2021-06-05 11:32hgbotResolutionopen => fixed
2021-06-05 11:32hgbotStatusscheduled => closed
2021-06-05 11:32hgbotNote Added: 0129090
2021-06-05 11:32hgbotNote Added: 0129091
2021-06-14 17:35jmelinNote Added: 0129483
2021-06-14 17:35jmelinStatusclosed => new
2021-06-14 17:35jmelinResolutionfixed => open
2021-06-15 15:14dmiguelezResolution time1623016800 => 1624917600
2021-06-16 11:48dmiguelezStatusnew => scheduled
2021-07-01 20:44hgbotNote Added: 0130084
2021-07-01 21:09hgbotNote Added: 0130085
2021-07-02 10:43hgbotResolutionopen => fixed
2021-07-02 10:43hgbotStatusscheduled => closed
2021-07-02 10:43hgbotNote Added: 0130091
2021-07-02 10:43hgbotNote Added: 0130092
2021-07-02 10:44hgbotNote Added: 0130093
2021-07-02 10:44hgbotNote Added: 0130094

Notes
(0128553)
jmelin   
2021-05-24 11:16   
I challenge the customer about this issue and I told me that if it's not blocking, it's important because it may disturb the cashier.
This is the current behavior on their POS today
(0128955)
hgbot   
2021-06-02 16:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/516 [^]
(0129090)
hgbot   
2021-06-05 11:32   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 37ac076384c163053182156722f75c073235a07b
Author: hernan-dp <h.de.prada1@gmail.com>
Date: 2021-06-05T11:29:51+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/37ac076384c163053182156722f75c073235a07b [^]

fixed ISSUE-46565: Respect default category after complete ticket and respected default schema after logout or refresh.

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/__test__/PaymentKeypad.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/SetDefaultKeymapCategoryId.js
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
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/SetSelectedKeymapCategory.js
---
(0129091)
hgbot   
2021-06-05 11:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/516 [^]
(0129483)
jmelin   
2021-06-14 17:35   
The keymap is going back to the defaut category, but the first page of the keymap caroussel is displayed
It should move to the page where the default category is.
(0130084)
hgbot   
2021-07-01 20:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/591 [^]
(0130085)
hgbot   
2021-07-01 21:09   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/584 [^]
(0130091)
hgbot   
2021-07-02 10:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3461a56ee41c33b22770ae300cffe3cecb4128f3
Author: hernan-dp <h.de.prada1@gmail.com>
Date: 2021-07-01T15:38:28-03:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3461a56ee41c33b22770ae300cffe3cecb4128f3 [^]

fixed ISSUE-46565: select category instead of default category for set keymap.

---
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/ProductCategoryKeymap.jsx
---
(0130092)
hgbot   
2021-07-02 10:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/591 [^]
(0130093)
hgbot   
2021-07-02 10:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 1a324dc73c57466ec780fba94c39a9a2c1825c9a
Author: hernan-dp <h.de.prada1@gmail.com>
Date: 2021-07-01T15:55:52-03:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1a324dc73c57466ec780fba94c39a9a2c1825c9a [^]

fixed ISSUE-46565: go to keymapPage when component first render.

---
M web-jspack/org.openbravo.core2/src/components/BaseKeymap/hooks/usePagination.js
---
(0130094)
hgbot   
2021-07-02 10:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/584 [^]