Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050562 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2022-10-17 14:26 | 2022-10-25 07:25 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050562: Not possible to do a deferred sell of a service product with "create ticket" if not allowed Anonymous sell | |||||||
Description | If a service product is not marked as "Allow Anonymous Sell", it is not possible to add it to the ticket if the current business partner is the anonymous one. This is problematic when dealing with a deferred sell. When doing so, we open an older ticket, and try to sell a service for one of the products of this older ticket. An option that is selectable is "Create new ticket", if that is selected then the process fails because newly created ticket has the anonymous customer selected. | |||||||
Steps To Reproduce | 1. Open backoffice, login and go to Product window 2. Search for Installation Pack product, and unmark the checkbox "Allow Anonymous Sell" 3. Go to WebPOS and login, refresh data if necessary 4. Add a GPS Handheld to the ticket and complete the ticket. 5. Go to Orders, and select open the previously sold ticket. 6. Click on the Related Services icon and try to add an Installation Pack to the GPS Handheld. 7. Select "Create new ticket", see that it fails with an error. Screenshot provided shows the error. | |||||||
Proposed Solution | Allow adding the product on a new ticket but do not allow paying until a non anonymous customer is selected. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0142247) hgbot (developer) 2022-10-18 18:03 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/962 [^] |
(0142248) hgbot (developer) 2022-10-18 18:04 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1291 [^] |
(0142520) hgbot (developer) 2022-10-25 07:25 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/962 [^] |
(0142521) hgbot (developer) 2022-10-25 07:25 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 349ab4a3f1b7107b79d761124fe1bd28c1b822ef Author: Cristian Berner <cristian.berner@openbravo.com> Date: 25-10-2022 05:25:02 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/349ab4a3f1b7107b79d761124fe1bd28c1b822ef [^] Fixes ISSUE-50562: Not possible to do a deferred sell of a service product if not allowed Anonymous sell --- M web-test/model/business-object/ticket/actions/AddProduct-actionPreparation.test.js M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js --- |
(0142522) hgbot (developer) 2022-10-25 07:25 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 1dcf81d079e998844b941848a81bc5c711400f44 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 25-10-2022 05:25:02 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1dcf81d079e998844b941848a81bc5c711400f44 [^] Related to ISSUE-50562: Code-review changes Changes done: - Add check on payment/checkout click to fail if the sale is not permitted because of some line not allowed to be seld to anon customer --- M src-db/database/sourcedata/AD_MESSAGE.xml M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js --- |
(0142523) hgbot (developer) 2022-10-25 07:25 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 10d201dcc02e28e464269fc24116254a59ee08b4 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 25-10-2022 05:25:05 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/10d201dcc02e28e464269fc24116254a59ee08b4 [^] Related to ISSUE-50562: Not possible to do a deferred sell of a service product if not allowed Anonymous sell --- M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddServiceProduct.js M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/CompleteTicket.js --- |
(0142524) hgbot (developer) 2022-10-25 07:25 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1291 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-10-17 14:26 | cberner | New Issue | |
2022-10-17 14:26 | cberner | Assigned To | => cberner |
2022-10-17 14:26 | cberner | File Added: anonDefferedSale.png | |
2022-10-17 14:26 | cberner | OBNetwork customer | => No |
2022-10-17 14:26 | cberner | Triggers an Emergency Pack | => No |
2022-10-18 18:03 | hgbot | Merge Request Status | => open |
2022-10-18 18:03 | hgbot | Note Added: 0142247 | |
2022-10-18 18:04 | hgbot | Note Added: 0142248 | |
2022-10-24 18:08 | hgbot | Merge Request Status | open => approved |
2022-10-25 07:25 | hgbot | Resolution | open => fixed |
2022-10-25 07:25 | hgbot | Status | new => closed |
2022-10-25 07:25 | hgbot | Note Added: 0142520 | |
2022-10-25 07:25 | hgbot | Fixed in Version | => RR23Q1 |
2022-10-25 07:25 | hgbot | Note Added: 0142521 | |
2022-10-25 07:25 | hgbot | Note Added: 0142522 | |
2022-10-25 07:25 | hgbot | Note Added: 0142523 | |
2022-10-25 07:25 | hgbot | Note Added: 0142524 |
Copyright © 2000 - 2009 MantisBT Group |