[MERGE] forward port branch saas-15 up to 863fad1b53
This commit is contained in:
@@ -902,7 +902,7 @@ class AccountBankStatementLine(models.Model):
|
||||
total = self.amount
|
||||
for aml_rec in payment_aml_rec:
|
||||
total -= aml_rec.debit - aml_rec.credit
|
||||
aml_rec.write({'statement_line_id': self.id})
|
||||
aml_rec.with_context(check_move_validity=False).write({'statement_line_id': self.id})
|
||||
counterpart_moves = (counterpart_moves | aml_rec.move_id)
|
||||
|
||||
# Create move line(s). Either matching an existing journal entry (eg. invoice), in which
|
||||
|
||||
Reference in New Issue
Block a user