Openbravo Issue Tracking System - POS2
View Issue Details
0046162POS2POSpublic2021-03-26 12:002021-05-03 11:34
jmelin 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
approved
Gold
No
0046162: JIRA 1516 - The reserved quantity of a product should cumulate reservations on its own and as component
When a product is sold alone or as a component of a menu, only the reserved quantity as a product in displayed in the keymap.

It doesn't apply for a component as it must display the quantity selected for the menu
1. Pick a product that is available alone and in a menu.
2. on the POS, create an order and add this menu
3. update the quantity of the menu to a value >1
4. check reserved quantity for the product where it can be selected alone
=> nothing is displayed
Full scope, Takeaway
depends on backport 0046406TAP closed ranjith_qualiantech_com JIRA 1516 - The reserved quantity of a product should cumulate reservations on its own and as component 
png 4053f785-d149-4deb-a903-70b83e5b321c.png (161,629) 2021-03-26 12:00
https://issues.openbravo.com/file_download.php?file_id=15468&type=bug
png
Issue History
2021-03-26 12:00jmelinNew Issue
2021-03-26 12:00jmelinAssigned To => Retail
2021-03-26 12:00jmelinFile Added: 4053f785-d149-4deb-a903-70b83e5b321c.png
2021-03-26 12:00jmelinOBNetwork customer => Gold
2021-03-26 12:00jmelinTriggers an Emergency Pack => No
2021-03-26 12:07jmelinTag Attached: Full scope
2021-04-07 15:05guilleaerAssigned ToRetail => mtaal
2021-04-07 20:36mtaalAssigned Tomtaal => jmelin
2021-04-08 08:29guilleaerAssigned Tojmelin => Retail
2021-04-13 09:33mtaalNote Added: 0127249
2021-04-22 23:05guilleaerTag Attached: Takeaway
2021-04-22 23:27guilleaerResolution time => 1617919200
2021-04-26 15:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-04-28 07:47hgbotMerge Request Status => open
2021-04-28 07:47hgbotNote Added: 0127606
2021-04-28 17:13guilleaerStatusnew => scheduled
2021-05-03 11:34hgbotMerge Request Statusopen => approved
2021-05-03 11:34hgbotResolutionopen => fixed
2021-05-03 11:34hgbotStatusscheduled => closed
2021-05-03 11:34hgbotNote Added: 0127730
2021-05-03 11:34hgbotNote Added: 0127731

Notes
(0127249)
mtaal   
2021-04-13 09:33   
A product can be part of a ticket directly and can be part of a menu.

When it is part of a menu the reserved quantity is not updated/shown correctly. Note special case to take into account is that a menu (in the screenshot: LE MENU FLUNCH) can have quantity > 1 (for example: 3), if a product occurs twice in the menu then the quantity of the product is 3*2=6 which should be shown in the bottom right of the product button.
(0127606)
hgbot   
2021-04-28 07:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/422 [^]
(0127730)
hgbot   
2021-05-03 11:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 88cbe5a65c18e661a1058cd40bb65cb8afccd3e0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-05-03T14:58:10+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/88cbe5a65c18e661a1058cd40bb65cb8afccd3e0 [^]

Fixed ISSUE-46162: Product quantity should be updated with line quantity and Menu Items quantity

---
M web-jspack/org.openbravo.pos2/src/components/ProductButton/getProductTicketQty.js
---
(0127731)
hgbot   
2021-05-03 11:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/422 [^]