Skip to content
Permalink
Browse files

[MERGE] forward port branch 10.0 up to 8443a74

  • Loading branch information...
KangOl committed Aug 22, 2019
2 parents e854f68 + 8443a74 commit edf44cdaee37b3089f2a6b7e01a56f0f5f9e7cda
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/account/models/account.py
@@ -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):

0 comments on commit edf44cd

Please sign in to comment.
You can’t perform that action at this time.