refactor: remove redundant manual balance check in account payment move creation
This commit is contained in:
parent
ba8a9a4928
commit
04e6bc1496
@ -92,8 +92,7 @@ class AccountPayment(models.Model):
|
||||
}
|
||||
payment.env['account.move.line'].with_context(skip_expense_lock=True, check_move_validity=False).create(line_vals)
|
||||
|
||||
# Force re-balance check
|
||||
payment.move_id._check_balanced()
|
||||
# Odoo 17 handles balance checks automatically; no need to call _check_balanced() manually
|
||||
|
||||
def _synchronize_from_moves(self, changed_fields):
|
||||
# 1. Standard sync with jumper support
|
||||
|
||||
Loading…
Reference in New Issue
Block a user