From e9d5c804acf0aca2502dce348dc367a41f5a322e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 29 Dec 2009 17:59:44 +0100 Subject: [PATCH] Remove unused company_obj --- invoice.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/invoice.py b/invoice.py index 08f8fdb6bc..cebb9cd6c0 100644 --- a/invoice.py +++ b/invoice.py @@ -186,7 +186,6 @@ class Invoice(ModelWorkflow, ModelSQL, ModelView): return 2 def default_company(self, cursor, user, context=None): - company_obj = self.pool.get('company.company') if context is None: context = {} if context.get('company'): @@ -1422,7 +1421,6 @@ class InvoiceLine(ModelSQL, ModelView): return 2 def default_company(self, cursor, user, context=None): - company_obj = self.pool.get('company.company') if context is None: context = {} if context.get('company'):