Skip to content
Snippets Groups Projects
Commit 5e768a65 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[fix] wizard error multi company

parent 14fd7f6a
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ class ExportJournalWizard(models.TransientModel): ...@@ -10,7 +10,7 @@ class ExportJournalWizard(models.TransientModel):
@api.model @api.model
def _get_default_company(self): def _get_default_company(self):
return self.env.user.company_id return self.env.company
@api.model @api.model
def _get_default_export(self): def _get_default_export(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment