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'):