Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0020553 | Openbravo ERP | 07. Sales management | public | 2012-05-19 04:32 | 2013-05-23 01:32 |
|
| Reporter | fleroux | |
| Assigned To | dmiguelez | |
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 30 | OS Version | Professional Appliance |
| Product Version | pi | |
| Target Version | | Fixed in Version | | |
| 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. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0021068 | | closed | pramakrishnan | Reactivating an invoice that has discounts and price includes taxes, the tax amt sometimes is not correct |
|
| Attached Files | |
|
| 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 | 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 | |