Remove unused company_obj
This commit is contained in:
1 parent
4eff7cba25
commit
665d2fdf74
1 file changed
-1
@@ -25,7 +25,6 @@ class Journal(ModelSQL, ModelView):
|
||||
return False
|
||||
|
||||
def default_company(self, cursor, user, context=None):
|
||||
company_obj = self.pool.get('company.company')
|
||||
if context and context.get('company'):
|
||||
return context['company']
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user