From eac3c733fe4379f6fb0bb9933d2cddc2df463a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 29 Dec 2009 18:00:53 +0100 Subject: [PATCH] Remove unused company_obj --- company.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/company.py b/company.py index 7abb4eb2d1..e39382b879 100644 --- a/company.py +++ b/company.py @@ -99,7 +99,6 @@ class User(ModelSQL, ModelView): }) def default_main_company(self, cursor, user, context=None): - company_obj = self.pool.get('company.company') if context is None: context = {} if context.get('company'): @@ -216,7 +215,6 @@ class Sequence(ModelSQL, ModelView): self._order.insert(0, ('company', 'ASC')) def default_company(self, cursor, user, context=None): - company_obj = self.pool.get('company.company') if context is None: context = {} if context.get('company'):