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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050562
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2022-10-17 14:262022-10-25 07:25
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionRR23Q1
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

0050562: Not possible to do a deferred sell of a service product with "create ticket" if not allowed Anonymous sell

DescriptionIf 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 Reproduce1. 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 SolutionAllow adding the product on a new ticket but do not allow paying until a non anonymous customer is selected.
TagsNo tags attached.
Attached Filespng file icon anonDefferedSale.png [^] (565,614 bytes) 2022-10-17 14:26

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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 Triggers an Emergency Pack => No
2022-10-18 18:03 hgbot Note Added: 0142247
2022-10-18 18:04 hgbot Note Added: 0142248
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
Powered by Mantis Bugtracker