Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041715 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2019-08-28 20:51 | 2025-01-23 11:56 | |||
Reporter | lbressan | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | normal | Resolution | out of date | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | RR19Q1.2 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | guillermogil | |||||||
OBNetwork customer | No | |||||||
Support ticket | 11527 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041715: Error applying manual discount in WebPOS | |||||||
Description | When applying a manual discount / promotion, the "rule" property of the "promotion" parameter in the addManual method of the promotion is recursively saved, as can be seen in the video. https://drive.google.com/file/d/1pnDYU3iXPoB39n78k_fM8LZ2WR9Rx_yx/view [^] | |||||||
Steps To Reproduce | When a manual discount is applied, the promotion that is saved on the order line is saved incorrectly, since the <rule> property of the <promotions> object is assigned with the <promo> object instead of <promo.rule> , as you can see in the attached screenshot. Something similar happens in the addManualPromotionSplit method of the kind OB.UI.ModalSplitLine and in the preAction and postAction method of the DiscountsExecutor model. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|||
Date Modified | Username | Field | Change |
2019-08-28 20:51 | lbressan | New Issue | |
2019-08-28 20:51 | lbressan | Assigned To | => Retail |
2019-08-28 20:51 | lbressan | File Added: bug-ob-2019-08-28.png2019-08-28.png | |
2019-08-28 20:51 | lbressan | OBNetwork customer | => No |
2019-08-28 20:51 | lbressan | Triggers an Emergency Pack | => No |
2019-08-28 20:54 | lbressan | File Added: rule_recursion_patch.diff | |
2019-08-29 04:30 | matias-bernal | Support ticket | => 11527 |
2019-08-29 08:33 | javietxe | Issue Monitored: javietxe | |
2019-08-29 12:04 | martinsdan | Issue Monitored: martinsdan | |
2024-11-14 17:28 | javietxe | Issue End Monitor: javietxe | |
2025-01-23 11:56 | guillermogil | Review Assigned To | => guillermogil |
2025-01-23 11:56 | guillermogil | Status | new => closed |
2025-01-23 11:56 | guillermogil | Resolution | open => out of date |
Copyright © 2000 - 2009 MantisBT Group |