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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028610
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionstrivialalways2015-01-14 13:212015-08-24 12:15
ReporterlorenzofidalgoView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR15Q1
StatusclosedFix in branchFixed in SCM revision6593e1218e61
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028610: Taxes are not well applied in "Tax breakdown" area when using a certain discount in "Canarias, Ceuta y Melilla" context

DescriptionWhen using "Canarias, Ceuta y Melilla" tax context, after applying some discounts, "Tax breakdown" label is not properly calculated. This alse affects to tickets. Total amount and the other computations are properly calculated.

[This is working wrong in: livebuilds pi oracle, RR15Q1 & livebuilds Q4.
This is working properly in: livebuilds pi psql, livebuilds Q3.4, livebuilds Q2.5.]* [See notes]*
Steps To ReproduceLogin POS in CMS terminal as centralmountains/openbravo.
Add "Bottle 1L" product.
Increase amount until 3 units (when the default 3x2 discount is applied).
Check in Tax breakdown that result is not correct.
TagsNo tags attached.
Attached Filespng file icon Taxes error.png [^] (245,494 bytes) 2015-01-14 13:21

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0028868 closedmarvintm Cascade taxes are not properly applied 

-  Notes
(0073918)
hgbot (developer)
2015-01-29 18:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4777b071712d987046f35ceca7390bf568deebe4
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 29 18:22:28 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4777b071712d987046f35ceca7390bf568deebe4 [^]

Fixed issue 0028610: Taxes are not well applied in "Tax breakdown" area when using a certain discount in "Canarias, Ceuta y Melilla" context

When taxRate is 0 we do not need to do some operations which could add precision error.

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0073919)
migueldejuana (developer)
2015-01-29 18:24

It has been reported as a Regression but I'm able to reproduce it in Q2.5
(0073924)
lorenzofidalgo (developer)
2015-01-30 08:34

After testing some days after, it was reproducible in all livebuilds contexts, so it is discarded as regression. Perhaps this issue was not reproducible in some contexs due to livebuilds configuration.
(0074087)
adrianromero (manager)
2015-02-04 14:02

The fix does not work properly. It checks for the rate of the first tax rate in the tax tree. It may happen that the first tax is a summary tax with rate 0 and in this case net is wrongly calculated.

The changeset must be reverted.
(0074244)
hgbot (developer)
2015-02-06 11:25

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dafeeccc8ab7f41693186dff35b6b864c7e005f1
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Feb 06 10:50:47 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dafeeccc8ab7f41693186dff35b6b864c7e005f1 [^]

Backed out changeset 4777b071712d
Reverting issue 0028610: Taxes are not well applied in "Tax breakdown" area when using a certain discount in "Canarias, Ceuta y Melilla" context

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0074372)
plujan (manager)
2015-02-12 12:41

This issue is still in Closed status while the last commit is a backout. Please correct the information to leave the data consistent. Either it is closed (resolution should change from Open) or it is not (status should be changed)
(0075882)
hgbot (developer)
2015-03-23 16:04

Repository: retail/backports/3.0RR15Q1.2/org.openbravo.retail.posterminal
Changeset: 7b8099c1d30659f75ff013f54dc9011111bb0e7d
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Feb 06 10:50:47 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q1.2/org.openbravo.retail.posterminal/rev/7b8099c1d30659f75ff013f54dc9011111bb0e7d [^]

Backed out changeset 4777b071712d
Reverting issue 0028610: Taxes are not well applied in "Tax breakdown" area when using a certain discount in "Canarias, Ceuta y Melilla" context

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0078738)
hgbot (developer)
2015-07-08 09:48

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6593e1218e610e6079560640c3a698850397d171
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 29 18:22:28 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6593e1218e610e6079560640c3a698850397d171 [^]

Fixed issue 0028610: Taxes are not well applied in "Tax breakdown" area when using a certain discount in "Canarias, Ceuta y Melilla" context

When taxRate is 0 we do not need to do some operations which could add precision error.

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---

- Issue History
Date Modified Username Field Change
2015-01-14 13:21 lorenzofidalgo New Issue
2015-01-14 13:21 lorenzofidalgo Assigned To => marvintm
2015-01-14 13:21 lorenzofidalgo File Added: Taxes error.png
2015-01-14 13:21 lorenzofidalgo Triggers an Emergency Pack => No
2015-01-14 13:26 lorenzofidalgo Regression level => Production - QA Approved
2015-01-14 13:26 lorenzofidalgo Regression introduced in release => RR14Q4
2015-01-14 13:45 lorenzofidalgo Summary Taxes are not well applied when using a certain discount in "Canarias, Ceuta y Melilla" context => Taxes are not well applied in "Tax breakdown" area when using a certain discount in "Canarias, Ceuta y Melilla" context
2015-01-14 13:45 lorenzofidalgo Description Updated View Revisions
2015-01-29 17:30 adrianromero Issue Monitored: adrianromero
2015-01-29 18:22 hgbot Checkin
2015-01-29 18:23 hgbot Note Added: 0073918
2015-01-29 18:23 hgbot Status new => resolved
2015-01-29 18:23 hgbot Resolution open => fixed
2015-01-29 18:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4777b071712d987046f35ceca7390bf568deebe4 [^]
2015-01-29 18:23 migueldejuana Assigned To marvintm => migueldejuana
2015-01-29 18:24 migueldejuana Note Added: 0073919
2015-01-29 19:04 marvintm Review Assigned To => marvintm
2015-01-29 19:04 marvintm Status resolved => closed
2015-01-29 19:04 marvintm Fixed in Version => RR15Q1
2015-01-30 08:34 lorenzofidalgo Regression level Production - QA Approved =>
2015-01-30 08:34 lorenzofidalgo Regression introduced in release RR14Q4 =>
2015-01-30 08:34 lorenzofidalgo Note Added: 0073924
2015-01-30 08:34 lorenzofidalgo Description Updated View Revisions
2015-02-04 14:02 adrianromero Note Added: 0074087
2015-02-04 14:02 adrianromero Status closed => new
2015-02-04 14:02 adrianromero Resolution fixed => open
2015-02-04 14:02 adrianromero Fixed in Version RR15Q1 =>
2015-02-04 18:01 adrianromero Status new => scheduled
2015-02-04 18:01 adrianromero Status scheduled => resolved
2015-02-04 18:02 adrianromero Status resolved => closed
2015-02-04 18:02 adrianromero Fixed in Version => RR15Q1
2015-02-04 18:22 adrianromero Relationship added causes 0028868
2015-02-06 11:25 hgbot Checkin
2015-02-06 11:25 hgbot Note Added: 0074244
2015-02-12 12:41 plujan Note Added: 0074372
2015-03-23 16:04 hgbot Checkin
2015-03-23 16:04 hgbot Note Added: 0075882
2015-07-08 09:48 hgbot Checkin
2015-07-08 09:48 hgbot Note Added: 0078738
2015-07-08 09:48 hgbot Status closed => resolved
2015-07-08 09:48 hgbot Resolution open => fixed
2015-07-08 09:48 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4777b071712d987046f35ceca7390bf568deebe4 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6593e1218e610e6079560640c3a698850397d171 [^]
2015-08-24 12:15 marvintm Review Assigned To marvintm => adrianromero
2015-08-24 12:15 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker