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

[fix] error default company_id

parent 83dd7658
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ class ScopCotisation(models.AbstractModel):
change_default=True,
required=True,
readonly=True,
default=lambda self: self.env.user.company_id,
default=lambda self: self.env.company,
)
company_currency_id = fields.Many2one(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment