Skip to content

Commit ff66f16

Browse files
Fix comparison operator in partner_balance class for account_id check
1 parent 9553ee8 commit ff66f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/account/report/account_partner_balance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _add_subtotal(self, cleanarray):
170170
tot_enlitige = (r['enlitige'] or 0.0)
171171
#
172172
else:
173-
if cleanarray[i]['account_id'] <> cleanarray[i-1]['account_id']:
173+
if cleanarray[i]['account_id'] != cleanarray[i-1]['account_id']:
174174

175175
new_header['debit'] = tot_debit
176176
new_header['credit'] = tot_credit

0 commit comments

Comments
 (0)