Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017390Openbravo ERP07. Sales managementpublic2011-05-26 19:102011-07-14 19:03
tds-peter 
sreedhar2009 
normalminoralways
closedfixed 
30Professional Appliance
pi 
3.0MP13.0MP0 
No
Core
No
0017390: Summary totals on Sales Order incorrect after Clone order
Select an existing Sales order and check the summary total of the order. The clone the order. The newly cloned order, in Draft mode, has summary totals both net and grand total, of zero. Yet the line amounts are correct. If you update any line, say to modify the quantity, and then save the line, then the summary total updates to reflect that particular line.

When you complete the order, however, the order totals correctly and the summary line is updated to reflect that correctly.
Select an existing Sales order with some number of lines and a non-zero grand total.
Clone the order.
Look at the summary line below the icon bar and you'll see the net and grand totals are zero.
Edit and save a line, and you'll see the totals begin to update.
All totals should be correct upon first cloning the order.

I did this using pi, which right now is RC7+.
No tags attached.
png AfterCloningOfOrder.png (143,357) 2011-05-26 19:10
https://issues.openbravo.com/file_download.php?file_id=4114&type=bug
png
Issue History
2011-05-26 19:10tds-peterNew Issue
2011-05-26 19:10tds-peterAssigned To => adrianromero
2011-05-26 19:10tds-peterFile Added: AfterCloningOfOrder.png
2011-05-26 19:10tds-peterModules => Core
2011-05-26 22:19iciordiaAssigned Toadrianromero => sreedhar2009
2011-05-26 22:20iciordiaOBNetwork customer => No
2011-05-26 22:20iciordiaTarget Version => 3.0MP0
2011-06-02 10:53dmitry_mezentsevTarget Version3.0MP0 => 3.0MP1
2011-06-02 15:32mtaalStatusnew => scheduled
2011-06-02 15:32mtaalNote Added: 0037923
2011-06-02 15:32mtaalfix_in_branch => pi
2011-06-02 15:33mtaalNote Added: 0037924
2011-06-02 15:33mtaalStatusscheduled => resolved
2011-06-02 15:33mtaalFixed in Version => 3.0MP0
2011-06-02 15:33mtaalFixed in SCM revision => 12581
2011-06-02 15:33mtaalResolutionopen => fixed
2011-07-14 19:03psarobeNote Added: 0039073
2011-07-14 19:03psarobeStatusresolved => closed

Notes
(0037923)
mtaal   
2011-06-02 15:32   
scheduled
(0037924)
mtaal   
2011-06-02 15:33   
Pushed:
https://code.openbravo.com/erp/devel/pi/rev/303d1b861cfb [^]

Note that the fix was accidentally pushed together with the fix for another issue.
(0039073)
psarobe   
2011-07-14 19:03   
Works fine