Remove unused company_obj

This commit is contained in:
Cédric Krier committed 2009-12-29 17:59:44 +01:00
1 parent 2b1980c865
commit e9d5c804ac
1 file changed
-2
-2
View File
@@ -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'):