15 lines
1.3 KiB
Diff
15 lines
1.3 KiB
Diff
diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py
|
|
index 4374528..aea1361 100644
|
|
--- a/addons/account/models/account_bank_statement.py
|
|
+++ b/addons/account/models/account_bank_statement.py
|
|
@@ -1008,7 +1008,7 @@ class AccountBankStatementLine(models.Model):
|
|
#record the move name on the statement line to be able to retrieve it in case of unreconciliation
|
|
self.write({'move_name': move.name})
|
|
payment.write({'payment_reference': move.name})
|
|
- elif self.move_name:
|
|
- raise UserError(_('Operation not allowed. Since your statement line already received a number, you cannot reconcile it entirely with existing journal entries otherwise it would make a gap in the numbering. You should book an entry and make a regular revert of it in case you want to cancel it.'))
|
|
+ #elif self.move_name:
|
|
+ # raise UserError(_('Operation not allowed. Since your statement line already received a number, you cannot reconcile it entirely with existing journal entries otherwise it would make a gap in the numbering. You should book an entry and make a regular revert of it in case you want to cancel it.'))
|
|
counterpart_moves.assert_balanced()
|
|
return counterpart_moves
|