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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038005
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2018-02-21 15:452018-02-27 09:13
ReportermaiteView Statuspublic 
Assigned Tomarkmm82 
PriorityimmediateResolutionfixedFixed in Version3.0PR17Q4.2
StatusclosedFix in branchFixed in SCM revision68638273deb0
ProjectionnoneETAnoneTarget Version3.0PR17Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/86dcf5d294d9 [^]
Triggers an Emergency PackNo
Summary

0038005: Tax tab info is not correctly recalculated when tax defined as "Line Net Amount + Tax Amount" is modified

DescriptionWhen changing the tax in an already created sales invoice line Tax tab is not correctly recalculated (while Line Tax tab is)
Steps To Reproduce1. Access "Tax rate" window and create:
  * one record defined as "Summary level"
  * another record with any rate, Base Amount =Line Net Amount and Parent tax rate= previous summary tax
  * another record with any rate, Base Amount =Line Net Amount + Tax Amount, Base ax= previous one and Parent tax rate= previous summary tax
2. Create Sales Invoice record. Add line, set any product and Tax= summary tax
3. Realize that both "Tax line" tab and "Tax" tab has both children taxes
4. Access Sales Invoice line and change tax to set any other value
5. Access "Line tax" tab and realize that correct tax appears
6. However access "Tax" tab and realize that still one rate belonging to previous tax is there, which is wrong
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0037989 closedmarkmm82 Tax tab info is not correctly recalculated when tax defined as "Line Net Amount + Tax Amount" is modified 

-  Notes
(0102838)
hgbot (developer)
2018-02-27 09:10

Repository: erp/backports/3.0PR17Q4.2
Changeset: 68638273deb07b46a23ec1215391cc1466be2095
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Feb 23 14:32:01 2018 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR17Q4.2/rev/68638273deb07b46a23ec1215391cc1466be2095 [^]

Fixes issue 38005. Order Invoice Tax Lines before deleting.

The order in which the Invoice Tax Lines are deleted can affect
calculations done by the triggers. They must be deleted
in the correct order.

---
M src-db/database/model/triggers/C_INVOICELINE_TRG2.xml
---
(0102842)
dmiguelez (developer)
2018-02-27 09:12

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2018-02-27 09:04 dmiguelez Type defect => backport
2018-02-27 09:04 dmiguelez Target Version => 3.0PR17Q4.2
2018-02-27 09:10 hgbot Checkin
2018-02-27 09:10 hgbot Note Added: 0102838
2018-02-27 09:10 hgbot Status scheduled => resolved
2018-02-27 09:10 hgbot Resolution open => fixed
2018-02-27 09:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q4.2/rev/68638273deb07b46a23ec1215391cc1466be2095 [^]
2018-02-27 09:12 dmiguelez Review Assigned To => dmiguelez
2018-02-27 09:12 dmiguelez Note Added: 0102842
2018-02-27 09:12 dmiguelez Status resolved => closed
2018-02-27 09:12 dmiguelez Fixed in Version => 3.0PR18Q2
2018-02-27 09:13 dmiguelez Fixed in Version 3.0PR18Q2 => 3.0PR17Q4.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker