From 48950149048874c7e9683e02941fce7fc6a537a9 Mon Sep 17 00:00:00 2001 From: "Kuldeep Joshi (OpenERP)" Date: Tue, 6 Mar 2012 17:34:58 +0530 Subject: [PATCH] [IMP]account_followup: remove res_partner_address bzr revid: kjo@tinyerp.com-20120306120458-1y9k6xdhiorzzw1e --- addons/account_followup/report/account_followup_print.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/account_followup/report/account_followup_print.py b/addons/account_followup/report/account_followup_print.py index b48d80a9084..8d64ce30f6b 100644 --- a/addons/account_followup/report/account_followup_print.py +++ b/addons/account_followup/report/account_followup_print.py @@ -45,9 +45,8 @@ class report_rappel(report_sxw.rml_parse): def _adr_get(self, stat_line, type): res_partner = pooler.get_pool(self.cr.dbname).get('res.partner') - res_partner_address = pooler.get_pool(self.cr.dbname).get('res.partner') adr = res_partner.address_get(self.cr, self.uid, [stat_line.partner_id.id], [type])[type] - return adr and res_partner_address.read(self.cr, self.uid, [adr]) or [{}] + return adr and res_partner.read(self.cr, self.uid, [adr]) or [{}] def _lines_get(self, stat_by_partner_line): pool = pooler.get_pool(self.cr.dbname)