mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_netting: Post move to reconcile (since 02fb119e32)
This commit is contained in:
@@ -117,6 +117,7 @@ class AccountMoveMakeNetting(models.TransientModel):
|
||||
if move_lines:
|
||||
move.write({"line_ids": move_lines})
|
||||
# Make reconciliation
|
||||
move.action_post()
|
||||
for move_line in move.line_ids:
|
||||
to_reconcile = move_line + self.move_line_ids.filtered(
|
||||
lambda x: x.account_id == move_line.account_id
|
||||
|
||||
Reference in New Issue
Block a user