Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055784 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | minor | always | 2024-06-17 13:58 | 2024-07-05 09:34 | |||
Reporter | philippe_mui | View Status | public | |||||
Assigned To | Rajesh_18 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
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 | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055784: RM-9972 [Coupon] when using a coupon linked to the anonymous customer of the defined store, the coupon is not known | |||||||
Description | When using a coupon linked to the anonymous customer of the defined store, the coupon is not known and an error message appears Current behavior : Coupon is unknown Expected result : coupon should be usable https://openbravo.atlassian.net/browse/RM-9972 [^] | |||||||
Steps To Reproduce | In Openbravo backoffice, use a proper role to access Discounts and Promotions (HQ Prices & Promotions of the brand) Define a promotion P1 with : Type (ex: Price Adjustment) Starting date in the past 'Discount %' or 'Discount Amount' 'Uses coupon checkbox' = Y In 'POS Configuration' section, 'Application Method' = 'Automatic' In 'Coupon' subtab, define coupon code C1 with 'Business Partner' = anonymous customer of store A Active Log into WebPOS on a touchpoint of store A with a user that has role seller Do not assign a customer to the ticket Add a product to the ticket Check the product price Click on the scan icon if needed and copy/past in the calculator the coupon code C1 | |||||||
Tags | FASH | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0166408) jorgewederago (developer) 2024-06-27 12:02 |
The configuration proposed is wrong so instead of allowing the behavior reported we will not allow having any Anonymous customer assigned to a coupon. In order to do this we will use a Callout to remove the BP if it is defined as Anonymous in any store in the client |
(0166498) hgbot (developer) 2024-07-01 10:45 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/62 [^] |
(0166703) hgbot (developer) 2024-07-05 09:34 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/62 [^] |
(0166704) hgbot (developer) 2024-07-05 09:34 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^] Changeset: e8bdb948ffaa7dbc7548405a07314a9322205209 Author: Rajesh Senthilkumar <rajesh@qualiantech.com> Date: 02-07-2024 15:29:57 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/e8bdb948ffaa7dbc7548405a07314a9322205209 [^] Fixed ISSUE-55784: Added Callout to avoid creation of coupon with anonymous BP * If Coupon is created in vallblanca store with BP then every parent organization is checked if bp is Anonymous * If Anonymous Error is shown to the user. --- A src/org/openbravo/retail/discounts/coupons/callout/CheckAnonymousBusinessPartner.java M src-db/database/sourcedata/AD_CALLOUT.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_MESSAGE.xml M src-db/database/sourcedata/AD_MODEL_OBJECT.xml --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-06-17 13:58 | philippe_mui | New Issue | |
2024-06-17 13:58 | philippe_mui | Assigned To | => Retail |
2024-06-17 13:58 | philippe_mui | Triggers an Emergency Pack | => No |
2024-06-17 13:58 | philippe_mui | Tag Attached: FASH | |
2024-06-17 14:04 | philippe_mui | Description Updated | View Revisions |
2024-06-27 12:02 | jorgewederago | Note Added: 0166408 | |
2024-06-27 12:02 | jorgewederago | Status | new => acknowledged |
2024-06-28 11:40 | Rajesh_18 | Assigned To | Retail => Rajesh_18 |
2024-06-28 11:40 | Rajesh_18 | Status | acknowledged => scheduled |
2024-07-01 10:45 | hgbot | Note Added: 0166498 | |
2024-07-05 09:34 | hgbot | Note Added: 0166703 | |
2024-07-05 09:34 | hgbot | Resolution | open => fixed |
2024-07-05 09:34 | hgbot | Status | scheduled => closed |
2024-07-05 09:34 | hgbot | Note Added: 0166704 |
Copyright © 2000 - 2009 MantisBT Group |