Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049315 | POS2 | Restaurants | public | 2022-05-12 19:47 | 2022-05-25 15:13 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
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 | 0049315: Menu items: coupon on line level of a menu item prints also menuitems of the line |
Description | See attached screenshot. The coupon menu item is printed on the buy notification template but the menuitems are repeated on the coupon as well. |
Steps To Reproduce | Configure two menu products of a menu to be coupon on line level. Add them to the menu, pay, check the printed coupon |
Proposed Solution | When building the set of lines/menuItem to be printed on a coupon the line.menuItems property is copied into the object created for the menuItem. This code [1], prevent this.
[1]
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/blob/master/web-jspack/org.openbravo.pos2.restaurant/src/core/pickupPoint/RestaurantPickupHandler.js#L66 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | Screenshot from 2022-05-12 19-23-29.png (58,568) 2022-05-12 19:47 https://issues.openbravo.com/file_download.php?file_id=17019&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2022-05-12 19:47 | mtaal | New Issue | |
2022-05-12 19:47 | mtaal | Assigned To | => mtaal |
2022-05-12 19:47 | mtaal | File Added: Screenshot from 2022-05-12 19-23-29.png | |
2022-05-12 19:47 | mtaal | Triggers an Emergency Pack | => No |
2022-05-12 20:24 | hgbot | Note Added: 0137239 | |
2022-05-12 20:36 | mtaal | Status | new => scheduled |
2022-05-12 20:36 | mtaal | Status | scheduled => resolved |
2022-05-12 20:36 | mtaal | Resolution | open => fixed |
2022-05-25 15:13 | hgbot | Status | resolved => closed |
2022-05-25 15:13 | hgbot | Note Added: 0137726 | |
2022-05-25 15:13 | hgbot | Note Added: 0137727 | |