diff --git a/addons/account_followup/wizard/account_followup_print.py b/addons/account_followup/wizard/account_followup_print.py index 22f432f77f6..270bba8a647 100644 --- a/addons/account_followup/wizard/account_followup_print.py +++ b/addons/account_followup/wizard/account_followup_print.py @@ -97,7 +97,7 @@ class account_followup_stat_by_partner(osv.osv): max(l.followup_date) AS date_followup, max(l.followup_line_id) AS max_followup_id, sum(l.debit - l.credit) AS balance, - l.company_id company_id + l.company_id as company_id FROM account_move_line l LEFT JOIN account_account a ON (l.account_id = a.id)