Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012884Openbravo ERP07. Sales managementpublic2010-04-06 16:442010-04-07 00:00
albertobg 
adrianromero 
urgentmajoralways
closedduplicate 
5
2.50MP14 
 
Core
No
0012884: Sales Orders/Sales Invoices don't update header totals when a line is deleted
In a sales order or a sales invoice, when a line is deleted, the fields totallines and grandtotal in c_order and c_invoice are not properly updated.
-Create new sales order or invoice
-Create a new line
-Go to header and check the totals
-Delete the line
-Go to header and verify that totals are not correct
Could be related with bug: https://issues.openbravo.com/view.php?id=12693. [^] Although this bug is solved, the solution does not cover this situation.
No tags attached.
duplicate of defect 00124042.50MP17 closed harikrishnan Complete and reactivate sales order - delete the lines - Now Total Net Amount and Total Gross Amount are same 
blocks defect 00131582.50MP17 closed adrianromero Complete and reactivate sales invoice- delete the lines - Now Total Net Amount and Total Gross Amount are not zero 
Issue History
2010-04-06 16:44albertobgNew Issue
2010-04-06 16:44albertobgAssigned To => adrianromero
2010-04-06 17:43psarobePriorityimmediate => urgent
2010-04-06 17:43psarobeSeveritycritical => major
2010-04-06 17:44psarobeRelationship addedduplicate of 0012404
2010-04-06 17:44psarobeNote Added: 0025909
2010-04-06 17:44psarobeStatusnew => closed
2010-04-06 17:44psarobeResolutionopen => duplicate
2010-04-07 00:00anonymoussf_bug_id0 => 2982904
2010-04-29 13:07arunkumarRelationship addedblocks 0013158

Notes
(0025909)
psarobe   
2010-04-06 17:44   
This is not critical. When you complete the invoice/order the process recalculates everything and finally you always have the correct amount for the invoice/order.

Thanks a lot for your valuable feedback.