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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047161
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsmajoralways2021-06-16 13:352021-06-28 11:40
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned TojavierRodriguez
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047161: JIRA 2059 - If a menu product has a different tax than menu item products, an error is raised while creating a proof of payment

DescriptionIf a menu product has a different tax than menu item products, an error is raised while creating a proof of payment

The error is raised when trying to get the Tax name from Taxes array from the line
Steps To Reproduce1) Go to ERP
2) Go to Product window and select Simple Menu
3) Change Tax Category to 'Exento'
4) Clear cache in the browser and access to VBS-1 terminal
5) Add a Simple Menu product from Resturant schema and select these products:
  * Onion Soup
  * Cheeseburger
  * Beer 0.5L
  * Cheese Cake
6) Pay the ticket with this menu line completely
7) Load again the previous completed ticket and navigate to Proof Of Payment window
8) Try to generate a "Divide in equal parts" or "Fill in amount" pop with any data
9) An error is raised indicating "Cannot read property 'name' of undefined"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047192TAP closedjorge-garcia JIRA 2059 - If a menu product has a different tax than menu item products, an error is raised while creating a proof of payment 

-  Notes
(0129766)
hgbot (developer)
2021-06-24 12:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/577 [^]
(0129839)
hgbot (developer)
2021-06-28 11:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2f555c994cb042bd482a4aa7fce3654a3c697b34
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-28T11:33:23+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2f555c994cb042bd482a4aa7fce3654a3c697b34 [^]

Fixed ISSUE-47161: Pop generation fails if the product is a BOM

In this case, it fails if the product is a menu and the menu product
has a different tax category than the menu items tax category

---
M web-jspack/org.openbravo.pos2/src/model/proofOfPayment/__test__/GeneratePopDivideEquallyUtils.test.js
M web-jspack/org.openbravo.pos2/src/model/proofOfPayment/__test__/GeneratePopFillInAmountUtils.test.js
M web-jspack/org.openbravo.pos2/src/model/proofOfPayment/utils/GeneratePopDivideEqually.js
M web-jspack/org.openbravo.pos2/src/model/proofOfPayment/utils/GeneratePopFillInAmount.js
---
(0129840)
hgbot (developer)
2021-06-28 11:40

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

- Issue History
Date Modified Username Field Change
2021-06-16 13:35 jorge-garcia New Issue
2021-06-16 13:35 jorge-garcia Assigned To => Retail
2021-06-16 13:35 jorge-garcia Triggers an Emergency Pack => No
2021-06-16 13:36 jorge-garcia Resolution time => 1625608800
2021-06-16 16:35 dmiguelez Status new => acknowledged
2021-06-21 13:32 guilleaer Summary If a menu product has a different tax than menu item products, an error is raised while creating a proof of payment => JIRA 2059 - If a menu product has a different tax than menu item products, an error is raised while creating a proof of payment
2021-06-21 13:33 guilleaer Status acknowledged => scheduled
2021-06-21 13:33 guilleaer Assigned To Retail => jorge-garcia
2021-06-24 12:38 hgbot Note Added: 0129766
2021-06-24 15:48 jorge-garcia Review Assigned To => javierRodriguez
2021-06-28 11:40 hgbot Resolution open => fixed
2021-06-28 11:40 hgbot Status scheduled => closed
2021-06-28 11:40 hgbot Note Added: 0129839
2021-06-28 11:40 hgbot Note Added: 0129840


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker