Skip to content

Commit

Permalink
[FIX]
Browse files Browse the repository at this point in the history
closes #312

Signed-off-by: Nicolas Mac Rouillon <nmr@adhoc.com.ar>
  • Loading branch information
augusto-weiss committed Nov 29, 2021
1 parent f8794a9 commit 0033c3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_interests/models/res_company_interest.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,5 @@ def _prepare_interest_invoice(self, partner, debt, to_date, journal):

@api.depends('domain')
def _compute_has_domain(self):
self.has_domain = len(safe_eval(self.domain)) > 0
for rec in self:
rec.has_domain = len(safe_eval(rec.domain)) > 0

0 comments on commit 0033c3d

Please sign in to comment.