Skip to content

Commit

Permalink
[FIX] account_check: only return check if this one does not previosly
Browse files Browse the repository at this point in the history
exist
  • Loading branch information
zaoral committed Jul 3, 2023
1 parent 4979b0b commit 8cdd5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_check/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def do_checks_operations(self, cancel=False):
self.ensure_one()
vals = {}
rec = self
if not rec.check_type:
if not rec.check_type or rec.check_id:
# continue
return vals
if (
Expand Down

0 comments on commit 8cdd5f6

Please sign in to comment.