Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0056569 | POS2 | POS | public | 2024-09-27 08:57 | 2024-09-27 08:57 |
Reporter | remibrunet | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0056569: Discount for customer birthday doesn't work as expected | ||||
Description | When configuring a discount to be applied on customer's birthday, the CRM property condition comparator doesn't work as expected. The CRM Connector Property used is 'birthDay - OBPOS_LblBirthdate' The Comparator used is 'Is today' The expected behavior is when it's the customer birthday, the discount is applied. The current behavior is when the customer is born today, the discount is applied. The comparator 'is today' take in account the year | ||||
Steps To Reproduce | Configure a discount (price adjustment, 5%) In the 'CRM property condition' tab, add the entry : CRM Connector Configuration = Openbravo BP CRM Integration CRM Connector Property = birthDay - OBPOS_LblBirthdate Comparator = Is today Active = true On POS, create a customer with birthday = today Assign it to the ticket Add a product -> the discount is applied Create another customer with birthday = today - 1 year Assign it to the ticket Add a product -> the discount is not applied | ||||
Proposed Solution | Change the comparator Is today or create a new one to only compare the day+month with the current date. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-09-27 08:57 | remibrunet | New Issue | |||
2024-09-27 08:57 | remibrunet | Assigned To | => Retail | ||
2024-09-27 08:57 | remibrunet | Triggers an Emergency Pack | => No |
There are no notes attached to this issue. |