Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056569 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [POS2] POS | major | always | 2024-09-27 08:57 | 2024-09-27 08:57 | |||||||
Reporter | remibrunet | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | 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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |