← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 392045] Re: XML "Sum" function summarizes only "visible" rows

 

I agree with Ferdinand, no partial sum should be shown if the results do
not fit the current "search page". Or at least, it should be clearly
indicated that it's a partial sum.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/392045

Title:
  XML "Sum" function summarizes only "visible" rows

Status in OpenObject Server:
  Invalid
Status in OpenObject Server trunk series:
  Invalid

Bug description:
  I'ts sort of a critical wishlist to provide "save" usage of the system.

the XML "sum" functions sum up ONLY the visible rows.

if more than 80 (default) rows are availabe the "sum" only shows the sum of the first 80 rows , after forward the sum of the next  set of rows etc

the fields in 
./addons/account/account_view.xml
./addons/account_followup/followup_view.xml
are called "Total Debit/Credit" suggesting it's a Total, but might only be a "Subtotal" for the displayed rows.

IMHO it is very important to remove this sort of sum and replace it with "Sums" representing the Sums of the context.

Example Partner -> Receivables and Payables 
The accountant needs to see the balance (which I added in https://bugs.launchpad.net/openobject-addons/+bug/358584) 

For now I'd strongly suggest to disable the display of "sum's" unless all records are displayed.
To display all records I suggest a button "Display all Records" instead of fiddling around increasing the limit to # records

BTW I like the idea that the "sum" function can be used to add up selected/marked records.