Skip to content

Commit

Permalink
[MERGE] forward port branch saas-14 up to edf44cd
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Aug 22, 2019
2 parents d8524aa + edf44cd commit cb5f824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/models/account.py
Expand Up @@ -491,7 +491,7 @@ def name_search(self, name='', args=None, operator='ilike', limit=100):
@api.depends('company_id')
def _belong_to_company(self):
for journal in self:
journal.belong_to_company = (journal.company_id.id == self.env.user.company_id.id)
journal.belongs_to_company = (journal.company_id.id == self.env.user.company_id.id)

@api.multi
def _search_company_journals(self, operator, value):
Expand Down

0 comments on commit cb5f824

Please sign in to comment.