Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Restaurantsmajoralways2021-09-15 10:212021-10-19 18:18
ReporterjmelinView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0047696: JIRA 2314 - Add vat rate of the menu components

DescriptionA menu can be composed of components with different vat.
The VAT of each rate is correctly saved in the data of the sales order in BO, but we don't have the initial name/rate of the vat
Steps To ReproduceFor example:
Menu VAT => name=3, rate=10%
Component A => name=3, rate=10%
Component B => name=2, rate=20%

In this case, the vat amount of the menu is not calculated using its own vat, but using the vat of each component over their prices.

In the BO, we correctly have the amount of each vat like to a menu.
But we lost the information of the vat name/rate the components at the time of the sales order
Proposed Solution1.
For a sales order, in "Menu items" tab of a "menu" lines, add:
- vat name
- vat rate

I may be also interesting to add vat category ?

When importing a sales order in BO, save the vat name/vat rate of the component when the order was made
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047728TAP closedAugustoMauch JIRA 2314 - Add vat rate of the menu components 

-  Notes
hgbot (developer)
2021-09-21 17:04

Merge Request created: [^]
hgbot (developer)
2021-09-21 17:13

Merge Request created: [^]
hgbot (developer)
2021-10-19 18:18

Merge request merged: [^]
hgbot (developer)
2021-10-19 18:18

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 99231606ff40acf37d73c695c8ab4631d73b71bf
Author: Augusto Mauch <>
Date: 2021-10-19T18:11:22+02:00
URL: [^]

Fixes ISSUE-47696: Adds per-item bom tax info

The tax engine has been modified to return more detailed information about BOM taxes. It used to return the information
grouped by tax category, now it additionally includes the same information (tax, taxable amount, taxed amount) per BOM line.

M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-rules.js
M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/interface/tax-posinterface.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
hgbot (developer)
2021-10-19 18:18

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: c05aaaadbdb7845883f699cb06dc9694fddc1954
Author: Augusto Mauch <>
Date: 2021-10-19T18:10:43+02:00
URL: [^]

Fixes ISSUE-47696: Include tax information per menu item

A new subtab to Order -> Order Line -> Menu Items has been added, to include the tax information related to each menu item.
This change depends on this merge request, that provides additional information for BOM taxes: [^]

A src-db/database/model/tables/OBREST_OL_MENU_ITEM_TAX.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/pos2/restaurant/hook/
hgbot (developer)
2021-10-19 18:18

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2021-09-15 10:21 jmelin New Issue
2021-09-15 10:21 jmelin Assigned To => Retail
2021-09-15 10:21 jmelin Triggers an Emergency Pack => No
2021-09-21 11:08 guilleaer Status new => scheduled
2021-09-21 11:08 guilleaer Assigned To Retail => AugustoMauch
2021-09-21 17:04 hgbot Note Added: 0131961
2021-09-21 17:13 hgbot Note Added: 0131962
2021-09-24 11:12 AugustoMauch Review Assigned To => aferraz
2021-09-24 11:12 AugustoMauch Steps to Reproduce Updated View Revisions
2021-09-24 11:13 AugustoMauch Status scheduled => resolved
2021-09-24 11:13 AugustoMauch Resolution open => fixed
2021-09-24 11:13 AugustoMauch Status resolved => closed
2021-09-24 11:16 AugustoMauch Status closed => new
2021-09-24 11:16 AugustoMauch Resolution fixed => open
2021-09-24 11:16 AugustoMauch Status new => scheduled
2021-10-19 18:18 hgbot Note Added: 0132462
2021-10-19 18:18 hgbot Resolution open => fixed
2021-10-19 18:18 hgbot Status scheduled => closed
2021-10-19 18:18 hgbot Fixed in Version => RR22Q1
2021-10-19 18:18 hgbot Note Added: 0132463
2021-10-19 18:18 hgbot Note Added: 0132464
2021-10-19 18:18 hgbot Note Added: 0132465

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker