Openbravo Issue Tracking System - POS2
View Issue Details
0047192POS2Restaurantspublic2021-06-16 13:352021-06-28 12:01
jorge-garcia 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
TAPTAP 
javierRodriguez
No
0047192: JIRA 2059 - If a menu product has a different tax than menu item products, an error is raised while creating a proof of payment
If 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
1) 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"
No tags attached.
blocks defect 0047161 closed jorge-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 
Issue History
2021-06-21 13:33guilleaerTypedefect => backport
2021-06-21 13:33guilleaerTarget Version => TAP
2021-06-21 13:34guilleaerAssigned ToRetail => jorge-garcia
2021-06-24 15:46jorge-garciaNote Added: 0129778
2021-06-24 15:48jorge-garciaReview Assigned To => javierRodriguez
2021-06-28 12:01jorge-garciaNote Added: 0129849
2021-06-28 12:01jorge-garciaStatusscheduled => resolved
2021-06-28 12:01jorge-garciaFixed in Version => TAP
2021-06-28 12:01jorge-garciaResolutionopen => fixed
2021-06-28 12:01jorge-garciaNote Added: 0129850
2021-06-28 12:01jorge-garciaStatusresolved => closed

Notes
(0129778)
jorge-garcia   
2021-06-24 15:46   
MR created:

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/68 [^]
(0129849)
jorge-garcia   
2021-06-28 12:01   
MR merged

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/68 [^]
(0129850)
jorge-garcia   
2021-06-28 12:01   
This is the commit merged into tap:

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/commit/7ac25817b435b76a0e7eea2b05bc3b4a49f85e9f [^]