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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020553
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2012-05-19 04:322013-05-23 01:32
ReporterflerouxView Statuspublic 
Assigned Todmiguelez 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioncff22f4a86ed
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned ToSandrahuguet
Web browserMozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020553: Total Gross Amount issue

DescriptionThe gross amount calculation is calculated incorrectly when applying a discount AND reactivation
Steps To Reproduce1. Create a sales invoice header
2. Create a sales invoice line for the header (allocate 5% tax)
3. Now allocate a discount line to the invoice (I allocate 7% discount)
4. Note the gross amount (at this stage the discount is not applied; this will happen when you hit complete/post). as an example i noted my gross amount before posting to be 22$
4. Now hit complete/post (the result gross amount CORRECTLY applies the discount) and note the amount (in my case 20$)
5. Now reactivate/unpost the invoice (You will note that the gross amount does NOT revert back to the original amount). So in my example I expected the amount to revert to $22 but instead the gross amount reverts to some arbitrary amount i.e. 24$
Proposed SolutionSomewhere during the unpost / reactivate the original calculation is not being repeated. Appreciate if you can fix this.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0021068 closedpramakrishnan Reactivating an invoice that has discounts and price includes taxes, the tax amt sometimes is not correct 

-  Notes
(0058481)
hgbot (developer)
2013-05-07 10:24

Repository: erp/devel/pi
Changeset: cff22f4a86ed32b92458e5f37e101f1921ada44c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon May 06 13:38:25 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cff22f4a86ed32b92458e5f37e101f1921ada44c [^]

Fixes Issue 20553: When Reactivating an Invoice, forces an Update
of the Invoice Lines so the Triggers of the Invoice Lines and
Invoice Tax Lines are launched again, fixing the problem of the
order of how they are launched in Postgre.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0058482)
Sandrahuguet (developer)
2013-05-07 10:36

Code review + testing OK
(0058773)
hudsonbot (developer)
2013-05-23 01:32

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/97c7f6256af7 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-05-19 04:32 fleroux New Issue
2012-05-19 04:32 fleroux Assigned To => mirurita
2012-05-19 04:32 fleroux Web browser => Mozilla Firefox
2012-05-19 04:32 fleroux Modules => Core
2012-05-23 13:48 Sandrahuguet Status new => scheduled
2012-05-23 13:48 Sandrahuguet Assigned To mirurita => Sandrahuguet
2012-05-23 13:48 Sandrahuguet fix_in_branch => pi
2012-07-13 12:09 psarobe Relationship added related to 0021068
2013-05-02 19:05 dmiguelez Note Added: 0058445
2013-05-02 19:05 dmiguelez Status scheduled => closed
2013-05-02 19:05 dmiguelez Resolution open => unable to reproduce
2013-05-03 08:22 dmiguelez Status closed => new
2013-05-03 08:22 dmiguelez Resolution unable to reproduce => open
2013-05-03 12:11 Sandrahuguet Note Deleted: 0058445
2013-05-03 13:24 Sandrahuguet Web browser Mozilla Firefox => Mozilla Firefox
2013-05-03 13:24 Sandrahuguet Triggers an Emergency Pack => No
2013-05-03 13:24 Sandrahuguet Type defect => design defect
2013-05-03 13:24 Sandrahuguet fix_in_branch pi =>
2013-05-06 17:21 Sandrahuguet Web browser Mozilla Firefox => Mozilla Firefox
2013-05-06 17:21 Sandrahuguet Assigned To Sandrahuguet => dmiguelez
2013-05-06 17:21 Sandrahuguet Type design defect => defect
2013-05-07 10:24 hgbot Checkin
2013-05-07 10:24 hgbot Note Added: 0058481
2013-05-07 10:24 hgbot Status new => resolved
2013-05-07 10:24 hgbot Resolution open => fixed
2013-05-07 10:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cff22f4a86ed32b92458e5f37e101f1921ada44c [^]
2013-05-07 10:36 Sandrahuguet Review Assigned To => Sandrahuguet
2013-05-07 10:36 Sandrahuguet Note Added: 0058482
2013-05-07 10:36 Sandrahuguet Status resolved => closed
2013-05-23 01:32 hudsonbot Checkin
2013-05-23 01:32 hudsonbot Note Added: 0058773


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker