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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032438
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2016-03-07 16:562016-03-10 20:52
ReporterngarciaView Statuspublic 
Assigned Tomarkmm82 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q4.5
StatusclosedFix in branchFixed in SCM revision556acfbe7571
ProjectionnoneETAnoneTarget Version3.0PR15Q4.5
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2015-07-16
Regression introduced in release3.0PR15Q4
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/8860b648abb2 [^]
Triggers an Emergency PackNo
Summary

0032438: Wrong Tax Amount and Total Gross Amount in orders created by the Copy Record process if price list includes taxes

DescriptionWrong Tax Amount and Total Gross Amount in orders created by the Copy Record process if price list includes taxes
Steps To ReproduceAs group admin role:
   Create a Sales Price List
   Set it as Price Includes Tax
   Add a version and a product to it
   Create a Sales Order with that price list and product and book it
   Click on the Copy record button of the toolbar and check the Total Gross Amount field of the status bar is wrong
   The tax amount of the tax tab is also wrong
   Book it and check the values do not change
   Repeat the process in the purchase flow and check the problem is also reproducible
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0032428 closedmarkmm82 Wrong Tax Amount and Total Gross Amount in orders created by the Copy Record process if price list includes taxes 

-  Notes
(0084890)
hgbot (developer)
2016-03-10 20:51

Repository: erp/backports/3.0PR15Q4.5
Changeset: 556acfbe7571c24aad0eece182f1a27fd2212bd4
Author: Mark <m.molina <at> nectus.com>
Date: Wed Mar 09 18:53:24 2016 -0500
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.5/rev/556acfbe7571c24aad0eece182f1a27fd2212bd4 [^]

Fixes issue 32438: Wrong orders created by the Copy Record process

Fixed the wrong Tax Amount and Total Gross Amount calculation in orders created by the Copy Record process
if price list includes taxes. These amounts are calculated when related triggers are fired, due that when
the order is cloned from the original order was necessary to reset calculated amounts and then triggers updates
them again when lines are added to the cloned order.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/CloneOrderActionHandler.java
---
(0084891)
hgbot (developer)
2016-03-10 20:51

Repository: erp/backports/3.0PR15Q4.5
Changeset: 35973fc6d1e8e6174e2a2cbd5687e4bc97acc361
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Mar 10 17:56:11 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.5/rev/35973fc6d1e8e6174e2a2cbd5687e4bc97acc361 [^]

Related to issue 32438: Code review improvements

Use BigDecimal.ZERO instead of new BigDecimal(0).

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/CloneOrderActionHandler.java
---
(0084892)
aferraz (manager)
2016-03-10 20:52

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2016-03-08 18:17 aferraz Type defect => backport
2016-03-08 18:17 aferraz Target Version => 3.0PR15Q4.5
2016-03-10 20:51 hgbot Checkin
2016-03-10 20:51 hgbot Note Added: 0084890
2016-03-10 20:51 hgbot Status scheduled => resolved
2016-03-10 20:51 hgbot Resolution open => fixed
2016-03-10 20:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q4.5/rev/556acfbe7571c24aad0eece182f1a27fd2212bd4 [^]
2016-03-10 20:51 hgbot Checkin
2016-03-10 20:51 hgbot Note Added: 0084891
2016-03-10 20:52 aferraz Review Assigned To => aferraz
2016-03-10 20:52 aferraz Note Added: 0084892
2016-03-10 20:52 aferraz Status resolved => closed
2016-03-10 20:52 aferraz Fixed in Version => 3.0PR15Q4.5


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker