Remove unused company_obj
This commit is contained in:
1 parent
2b1980c865
commit
e9d5c804ac
1 file changed
-2
@@ -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'):
|
||||
|
||||
Reference in new issue
Block a user