trunk - balance amount missing in journal entries

Bug #752413 reported by Frederic Clementi - Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

A wish more than a bug...
Would you mind sometime to add the "total balance" beside Total debit and Total credit at the bottom left hand corner of list of entries screens...
You have no idea how this small add could be useful. (I am simply taking about Total balance = Total Debit - Total Credit)

see attached doc

Many thanks

Frederic

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :
Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Thanks for reporting.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
xrg (xrg) wrote : Re: [Bug 752413] [NEW] trunk - balance amount missing in journal entries

On Wednesday 06 April 2011, you wrote:
> Public bug reported:
>
> A wish more than a bug...
> Would you mind sometime to add the "total balance" beside Total debit and
> Total credit at the bottom left hand corner of list of entries screens...
> You have no idea how this small add could be useful. (I am simply taking
> about Total balance = Total Debit - Total Credit)
>

I gave your idea a few minutes of thought/search..

If we had a "line_balance" field, merely of (debit - credit), we could have
solved that in just one xml line.
 like <field name="line_balance" sum="Total balance" />

But, the one we have, the "balance", is a /running sum/ ! It will not just
compute the current line. So, we cannot use that.

Conclusion: please wait a bit more to decide on the right field to support.

Revision history for this message
Ferdinand (office-chricar) wrote :

see patch
I have also added
'balance_line_abs': fields.function(_balance_move_line_abs, method=True, string='Balance Line abs'),

this makes it easy to sort by absolute values because matching move lines have often debit = credit and ther is no other way to see these lines next to each other than ordering by absolute values

in another system we even had an automatic reconciliation using the absolute values.

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Ferdinand (office-chricar) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.