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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048359
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2022-01-05 15:562022-01-13 14:00
ReportercbernerView Statuspublic 
Assigned Tosntgreale 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix 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

0048359: Restaurant menu qty has strange behaviour when previously executed split lines

DescriptionCreating a menu and splitting it makes the first menu behave strangely. For example, if we sum 1 to the qty of the first menu, instead of summing 1, the first time it creates another ticket line(this is wrong). Next clicks on the + button work fine, adds extra qty to the same menu.

If we remove the other split lines menus, and try to reduce the qty of the first menu by 1, it will generate a new ticket line with a negative qty menu, this is wrong, it should remove 1 of the quantity of the first menu instead.

For better explanation, please check the provided gif, you'll be able to see this strange behaviour.
Steps To Reproduce1. Login in WebPOS with restaurant module
2. Switch to Restaurant schema
3. Add a Simple menu and complete it. After click on the menu and add 1 qty, so qty is 2.
4. Click on split lines
5. Add to the first menu qty until reaching 3 or 4 (Here you can already see the first strange behaviour, the first time you click on add, a new ticket line is created instead of adding 1 unit to the qty)
6. Remove all ticket lines except the first one.
7. Remove one unit of the menu, a new ticket line with negative qty is created instead of subtracting one unit of the qty of the item.

Check also the gif attached for reference on how to reproduce it.
TagsNo tags attached.
Attached Filesgif file icon Strange menu behaviour with split lines.gif [^] (1,956,780 bytes) 2022-01-05 15:56

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134286)
hgbot (developer)
2022-01-13 14:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/106 [^]

- Issue History
Date Modified Username Field Change
2022-01-05 15:56 cberner New Issue
2022-01-05 15:56 cberner Assigned To => Retail
2022-01-05 15:56 cberner File Added: Strange menu behaviour with split lines.gif
2022-01-05 15:56 cberner Triggers an Emergency Pack => No
2022-01-05 15:59 cberner Summary Menu qty has strange behaviour when previously executed split lines => Restaurant menu qty has strange behaviour when previously executed split lines
2022-01-05 16:19 cberner Assigned To Retail => sntgreale
2022-01-05 16:19 cberner Status new => acknowledged
2022-01-10 12:44 guilleaer Status acknowledged => scheduled
2022-01-13 14:00 hgbot Note Added: 0134286


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker