Skip to content

Commit

Permalink
auto_join company_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
lasley committed May 5, 2017
1 parent 71ec1a5 commit 4c17d04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base_multi_company/models/multi_company_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class MultiCompanyAbstract(models.AbstractModel):
string='Companies',
comodel_name='res.company.assignment',
default=lambda s: s._default_company_ids(),
auto_join=True,
)

@api.model
Expand Down

0 comments on commit 4c17d04

Please sign in to comment.