Openbravo Issue Tracking System - POS2
View Issue Details
0050248POS2POSpublic2022-09-14 17:092022-10-25 07:24
philippe_mui 
cberner 
highmajoralways
closedfixed 
5
 
 
No
0050248: Sell a Service to an Anonymous Customer while it is set to "not allowed" in Backoffice
When a service is unticked for "Allow Anonymous Sales", you will not be able to sell it if anonymous customer. But you can still do it when you unassign the customer after adding him
When a service is unticked for "Allow Anonymous Sales", you will not be able to sell it if anonymous customer

When I choose a customer

Then add the service : Sports Accident Insurance"

remove the Customer: "unnasign the customer"

You can proceed with the sale when you should not.
FASH
png 2022-09-14_17h11_57.png (119,487) 2022-09-14 17:12
https://issues.openbravo.com/file_download.php?file_id=17518&type=bug
png
Issue History
2022-09-14 17:09philippe_muiNew Issue
2022-09-14 17:09philippe_muiAssigned To => Retail
2022-09-14 17:09philippe_muiTriggers an Emergency Pack => No
2022-09-14 17:10philippe_muiTag Attached: FASH
2022-09-14 17:12philippe_muiFile Added: 2022-09-14_17h11_57.png
2022-10-18 17:52cbernerAssigned ToRetail => cberner
2022-10-18 17:52cbernerStatusnew => scheduled
2022-10-18 17:54hgbotNote Added: 0142245
2022-10-18 17:58hgbotNote Added: 0142246
2022-10-25 07:24hgbotResolutionopen => fixed
2022-10-25 07:24hgbotStatusscheduled => closed
2022-10-25 07:24hgbotNote Added: 0142516
2022-10-25 07:24hgbotFixed in Version => RR23Q1
2022-10-25 07:24hgbotNote Added: 0142517
2022-10-25 07:24hgbotNote Added: 0142518
2022-10-25 07:24hgbotNote Added: 0142519

Notes
(0142245)
hgbot   
2022-10-18 17:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/961 [^]
(0142246)
hgbot   
2022-10-18 17:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1290 [^]
(0142516)
hgbot   
2022-10-25 07:24   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/961 [^]
(0142517)
hgbot   
2022-10-25 07:24   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7029daf0f43a09a113c4de1bc76a9a137aaa65d5
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 25-10-2022 05:24:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7029daf0f43a09a113c4de1bc76a9a137aaa65d5 [^]

Fixes ISSUE-50248: Selling a product to an Anonymous Customer is possible while it is set to "not allowed"

When changing BP it will not allow it if there are some order-lines
marked as not "Allow Anonymous Sale"

Also, this fixes an issue with the external business partner
selector, which didn't allow unassigning the current business partner.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AssignExternalBusinessPartner.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0142518)
hgbot   
2022-10-25 07:24   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 43621624fc33467f26689cf7edd635dd173662d1
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 25-10-2022 05:24:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/43621624fc33467f26689cf7edd635dd173662d1 [^]

Related to ISSUE-50248: Selling a product to an Anonymous Customer is possible while "not allowed"

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/SwitchToPayments.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0142519)
hgbot   
2022-10-25 07:24   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1290 [^]