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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045620
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsmajorhave not tried2020-12-17 11:142020-12-29 16:54
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

0045620: Autodiscovery menu process not working properly for menu that contain grouped categories

Description The autodiscovery process is not working properly when the menu built automatically contain grouped categories. When storing the menu meta data in the ticket, the group ids are being stored instead of the menu category ids.

As a result, the menu is shown as not completed, and when paid it will show wrong data on the ERP.
Steps To ReproduceCreate a menu with this configuration in the ERP:
- One group, min=max=2
- Two categories, both belong to the group created in the previous step
- Each category contains two menu items (i.e. category 1 contains Cesar Salad, Onion Soup, category 2 contains Cheeseburger, carbonara pizza)

Open webpos, and add the following two items:
- Cesar Salad
- Carbonara Pizza

An instance for the grouped menu will be created, but it will not be shown properly (see attached screenshots)
TagsNo tags attached.
Attached Filespng file icon ExpectedGroupedMenu.png [^] (32,067 bytes) 2020-12-17 11:16


png file icon WrongGroupedMenu.png [^] (34,015 bytes) 2020-12-17 11:16

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0045455 closedRetail Import error for order with an auto-completed menu 

-  Notes
(0124936)
hgbot (developer)
2020-12-18 12:17

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant [^]
Changeset: f5d3c9603745f66466c120046416b801a2d76d2c
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 2020-12-18T12:16:39+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.restaurant/-/commit/f5d3c9603745f66466c120046416b801a2d76d2c [^]

Fixes issue 45620, menus that use grouped categories are properly autodiscovered

Now the category id stored on the ticket meta data is proper, instead of being sometimes
the id of the menu group

---
M web-jspack/org.openbravo.retail.restaurant/src/model/ticket/actions/AddProductActionPreparation.js
---

- Issue History
Date Modified Username Field Change
2020-12-17 11:14 AugustoMauch New Issue
2020-12-17 11:14 AugustoMauch Assigned To => AugustoMauch
2020-12-17 11:14 AugustoMauch Triggers an Emergency Pack => No
2020-12-17 11:14 AugustoMauch Issue generated from 0045619
2020-12-17 11:16 AugustoMauch File Added: ExpectedGroupedMenu.png
2020-12-17 11:16 AugustoMauch File Added: WrongGroupedMenu.png
2020-12-17 14:47 AugustoMauch Relationship added has duplicate 0045455
2020-12-18 12:17 hgbot Resolution open => fixed
2020-12-18 12:17 hgbot Status new => resolved
2020-12-18 12:17 hgbot Note Added: 0124936
2020-12-29 16:54 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker