Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020553 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2012-05-19 04:32 | 2013-05-23 01:32 | |||
Reporter | fleroux | View Status | public | |||||
Assigned To | dmiguelez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | cff22f4a86ed | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | No | |||||||
Web browser | Mozilla Firefox | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020553: Total Gross Amount issue | |||||||
Description | The gross amount calculation is calculated incorrectly when applying a discount AND reactivation | |||||||
Steps To Reproduce | 1. 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 Solution | Somewhere during the unpost / reactivate the original calculation is not being repeated. Appreciate if you can fix this. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2013-05-07 10:36 |
Code review + testing OK |
(0058773) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |