Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025785Openbravo ERP07. Sales managementpublic2014-02-20 17:142014-03-10 22:58
jecharri 
pramakrishnan 
immediatemajoralways
closedfixed 
5
 
3.0PR14Q3 
jecharri
Google Chrome
Core
No
0025785: Wrong grandtotal in invoices when you void it
Wrong grandtotal in invoices when you void it
-Create an invoice using a price with taxes price list
-Insert a line and void it

Verify that "Total Gross amount" is not updated to zero

It must include a module script
No tags attached.
Issue History
2014-02-20 17:14jecharriNew Issue
2014-02-20 17:14jecharriAssigned To => dmiguelez
2014-02-20 17:14jecharriWeb browser => Google Chrome
2014-02-20 17:14jecharriModules => Core
2014-02-20 17:14jecharriResolution time => 1395702000
2014-02-20 17:14jecharriTriggers an Emergency Pack => No
2014-02-20 17:16jecharriWeb browserGoogle Chrome => Google Chrome
2014-02-20 17:16jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5472#r5472
2014-02-25 17:12jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2014-02-25 17:12jonalegriaesarteAssigned Todmiguelez => pramakrishnan
2014-02-25 17:12jonalegriaesartePriorityurgent => immediate
2014-02-26 08:53pramakrishnanStatusnew => scheduled
2014-02-26 08:53pramakrishnanfix_in_branch => pi
2014-03-05 18:21pramakrishnanReview Assigned To => jecharri
2014-03-05 18:21pramakrishnanWeb browserGoogle Chrome => Google Chrome
2014-03-05 18:21pramakrishnanfix_in_branchpi =>
2014-03-05 18:22hgbotCheckin
2014-03-05 18:22hgbotNote Added: 0064870
2014-03-05 18:22hgbotStatusscheduled => resolved
2014-03-05 18:22hgbotResolutionopen => fixed
2014-03-05 18:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/74df619a7316329486c772756ed967d558b8c168 [^]
2014-03-06 04:24hudsonbotCheckin
2014-03-06 04:24hudsonbotNote Added: 0064885
2014-03-07 13:15jecharriNote Added: 0064957
2014-03-07 13:15jecharriStatusresolved => closed
2014-03-10 12:50jecharriNote Added: 0064984
2014-03-10 12:50jecharriStatusclosed => new
2014-03-10 12:50jecharriResolutionfixed => open
2014-03-10 12:50jecharriNote Edited: 0064984bug_revision_view_page.php?bugnote_id=0064984#r5555
2014-03-10 13:09jecharriNote Edited: 0064984bug_revision_view_page.php?bugnote_id=0064984#r5556
2014-03-10 13:47hgbotCheckin
2014-03-10 13:47hgbotNote Added: 0064986
2014-03-10 13:47hgbotStatusnew => resolved
2014-03-10 13:47hgbotResolutionopen => fixed
2014-03-10 13:47hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/74df619a7316329486c772756ed967d558b8c168 [^] => http://code.openbravo.com/erp/devel/pi/rev/8fe053d8c26f4a1db631b170ad1d6a17694c3f9d [^]
2014-03-10 16:53jecharriNote Added: 0064993
2014-03-10 16:53jecharriStatusresolved => closed
2014-03-10 22:58hudsonbotCheckin
2014-03-10 22:58hudsonbotNote Added: 0065008

Notes
(0064870)
hgbot   
2014-03-05 18:22   
Repository: erp/devel/pi
Changeset: 74df619a7316329486c772756ed967d558b8c168
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Mar 05 22:49:04 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/74df619a7316329486c772756ed967d558b8c168 [^]

Fixes Issue 25785: Wrong grandtotal in invoices when you void it

---
M src-db/database/model/functions/C_INVOICE_POST.xml
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateGrandTotal.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateGrandTotalData.class
A src-util/modulescript/src/org/openbravo/modulescript/UpdateGrandTotal.java
A src-util/modulescript/src/org/openbravo/modulescript/UpdateGrandTotal_data.xsql
---
(0064885)
hudsonbot   
2014-03-06 04:24   
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/94a044af1a46 [^]
Maturity status: Test
(0064957)
jecharri   
2014-03-07 13:15   
Verified
(0064984)
jecharri   
2014-03-10 12:50   
(edited on: 2014-03-10 13:09)
The fix is wrong, it is filtering by "AND i.c_doctype_id = '0'" when it should not do that in old MP's

(0064986)
hgbot   
2014-03-10 13:47   
Repository: erp/devel/pi
Changeset: 8fe053d8c26f4a1db631b170ad1d6a17694c3f9d
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Mon Mar 10 18:13:58 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/8fe053d8c26f4a1db631b170ad1d6a17694c3f9d [^]

Fixes Issue 25785: Wrong grandtotal in invoices when you void it

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateGrandTotalData.class
M src-util/modulescript/src/org/openbravo/modulescript/UpdateGrandTotal_data.xsql
---
(0064993)
jecharri   
2014-03-10 16:53   
Verified and working
(0065008)
hudsonbot   
2014-03-10 22:58   
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/b362f74ef31a [^]
Maturity status: Test