Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0046646 | POS2 | POS | public | 2021-05-12 15:34 | 2021-06-29 17:14 | |||||||
Reporter | jorge-garcia | |||||||||||
Assigned To | javierRodriguez | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | TAP | Fixed in Version | TAP | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | guilleaer | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0046646: Allow multiple instances per line flag for manual promotionsis not working properly | |||||||||||
Description | Allow multiple instances per line allows to define the same manual promotion (m_offer_id) to be applied to the same line. If the flag is unchecked, in old POS if a manual promotion is added to a line but this promotion was already in the line, the new added promotion overrides the previous applied promotion If the flag is checked,every time this manual promotion is added, it will generate a new instance of the promotion (discountinstance property from promotion object) | |||||||||||
Steps To Reproduce | 1) Configure Allow multiple instances per line allows flag in any way 2) The behavior is always the same | |||||||||||
Proposed Solution | For new POS, this is the expected behavior with "Allow multiple instances per line" flag: - Manual Promotion with flag CHECKED The promotion is added always to the ticket and the promotion object should generate a discountinstance value using an UUID - Manual Promotion with flag UNCHECKED - Ticket has not applied the promotion -> Add the promotion - Ticket has applied the promotion before -> A error message is shown indicating it cannot be added again To know if a promotion is the same, we should always check the id and the discountinstance of the promotion | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2021-05-12 15:39 | guilleaer | Type | defect => backport | |||||||||
2021-05-12 15:39 | guilleaer | Target Version | => TAP | |||||||||
2021-05-12 15:39 | guilleaer | Status | scheduled => acknowledged | |||||||||
2021-05-19 17:45 | javierRodriguez | Assigned To | Retail => javierRodriguez | |||||||||
2021-05-19 17:45 | javierRodriguez | Status | acknowledged => scheduled | |||||||||
2021-05-19 17:53 | javierRodriguez | Note Added: 0128418 | ||||||||||
2021-05-19 17:53 | javierRodriguez | Note Edited: 0128418 | bug_revision_view_page.php?bugnote_id=0128418#r22562 | |||||||||
2021-05-19 17:53 | javierRodriguez | Note Added: 0128419 | ||||||||||
2021-05-19 17:53 | javierRodriguez | Status | scheduled => resolved | |||||||||
2021-05-19 17:53 | javierRodriguez | Resolution | open => fixed | |||||||||
2021-06-29 17:14 | guilleaer | Review Assigned To | => guilleaer | |||||||||
2021-06-29 17:14 | guilleaer | Status | resolved => closed | |||||||||
2021-06-29 17:14 | guilleaer | Fixed in Version | => TAP |
Notes | |||||
|
|||||
|
|||||
|
|||||
|
|