Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047692
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantscriticalhave not tried2021-09-14 17:472021-09-16 10:29
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047692: New restaurant menus are merged into existing ones

DescriptionIn a ticket that contains a restaurant menu, if a new menu of the same time is added, it will replace the original menu, even if the products selected in each of those menus are different.
Steps To ReproduceIn a pos2 environment that contains the restaurant module:
- Add a menu (i.e. Simple Menu with Onion Soup, Hamburguer, Beer, Cheesecake). It will added to the ticket as expected
- On the keymap, click on the same menu (i.e. Simple Menu). Notice that instead of being added to a separate line, the quantity of the original line has been increased to 2.
- Complete the creation of the new menu by selecting different products from the first one (i.e. Cesar Salad, Carbonara Pizza, Water, Brownie. Notice that the ticket still contains only one line with quantity=2, and the products included in the original menu have been lost

See attached video to see it in action.
TagsNo tags attached.
Attached Filesgif file icon WrongMergedMenu.gif [^] (589,785 bytes) 2021-09-14 17:49

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047693TAP closedRetail New restaurant menus are merged into existing ones 

-  Notes
(0131817)
hgbot (developer)
2021-09-15 13:08

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/72 [^]
(0131859)
hgbot (developer)
2021-09-16 10:29

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 793941e0e25b2854b9f04f0233231a0a52cef41e
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 2021-09-16T10:26:28+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/793941e0e25b2854b9f04f0233231a0a52cef41e [^]

Fixes ISSUE-47692: New restaurant menus are merged into existing ones

Now when adding an empty menu to the ticket, the menu is added to a separate line

---
M web-jspack/org.openbravo.pos2.restaurant/src/model/user-interface/user-actions/AddProductHooks.js
---
(0131860)
hgbot (developer)
2021-09-16 10:29

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/72 [^]

- Issue History
Date Modified Username Field Change
2021-09-14 17:47 AugustoMauch New Issue
2021-09-14 17:47 AugustoMauch Assigned To => Retail
2021-09-14 17:47 AugustoMauch Triggers an Emergency Pack => No
2021-09-14 17:47 AugustoMauch Status new => scheduled
2021-09-14 17:49 AugustoMauch File Added: WrongMergedMenu.gif
2021-09-15 11:20 dmiguelez Assigned To Retail => AugustoMauch
2021-09-15 13:08 hgbot Note Added: 0131817
2021-09-16 10:29 hgbot Resolution open => fixed
2021-09-16 10:29 hgbot Status scheduled => closed
2021-09-16 10:29 hgbot Note Added: 0131859
2021-09-16 10:29 hgbot Note Added: 0131860


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker