[FIX] account: partner balance general totals
authorDenis Ledoux <dle@odoo.com>
Tue, 28 Oct 2014 12:18:22 +0000 (13:18 +0100)
committerDenis Ledoux <dle@odoo.com>
Tue, 28 Oct 2014 12:18:22 +0000 (13:18 +0100)
commit00ec786e487ee79e6edaa29aa8bb3d4ccd028779
tree7f4fd0fc064d416825a4d0a05dfd84493d629a79
parenta00de91001c10aa14cdb84523b676c3d12bf45a2
[FIX] account: partner balance general totals

General totals were not computed at all, due to the condition "if not self.ids" which was always true as self.ids wasn't set.

Besides, a parameter allows to display only partner with balance greater than 0, which was completely ignored by the totals computation methods: The totals always included all partners, even those having balance equals to 0
addons/account/report/account_partner_balance.py