|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|backport||[Retail Modules] Web POS||major||sometimes||2016-09-14 08:56||2016-09-26 19:01|
|Priority||urgent||Resolution||fixed||Fixed in Version||RR16Q2.3|
|Status||closed||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To||guilleaer|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0033980: Taxes in the cashup invoice are not calculated properly if the tax is marked as document level
|Description||Since 16Q2, the Web POS can calculate taxes at document level. This works correctly in the client side, when computing taxes for individual orders.|
However, in the cashup, there is currently a problem in the way the taxes at header level are computed. These taxes should be calculated by summing the taxes at header level from the orders, and instead, they are being calculated by summing the taxes at line level. This can lead to inconsistencies derived from the fact that rounding is different if done in this way.
|Steps To Reproduce||- Configure taxes to be calculated at document level.|
- Log in the Web POS. Create some orders. Do the cashup.
- Verify that the taxes computed at header level for the generated invoice do not sum the same amount as the taxes at header level of the orders. This is wrong.
|Tags||No tags attached.|
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Sep 22 12:24:42 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.3/org.openbravo.retail.posterminal/rev/9e8e576b00fda93aa7979b1bbb37993752706bb8 [^] [^]
Fixed issue 33978. Taxes configured to be calculated at document level will be computed correctly.
The root cause of the problem was that the taxes at document level of the invoice generated during the cashup were computed by summing the taxes from the orders at line level, and this was not correct. Now the taxes at document level of the invoice are computed by summing the taxes at document level of the orders.
|2016-09-14 08:56||marvintm||Type||defect => backport|
|2016-09-14 08:56||marvintm||Target Version||=> RR16Q2.3|
|2016-09-22 12:36||migueldejuana||Note Added: 0090162|
|2016-09-22 12:36||migueldejuana||Status||scheduled => resolved|
|2016-09-22 12:36||migueldejuana||Resolution||open => fixed|
|2016-09-26 19:01||guilleaer||Review Assigned To||=> guilleaer|
|2016-09-26 19:01||guilleaer||Status||resolved => closed|
|2016-09-26 19:01||guilleaer||Fixed in Version||=> RR16Q2.3|
|Copyright © 2000 - 2009 MantisBT Group|