diff --git a/account_factoring_receivable_balance/models/subrogation_receipt.py b/account_factoring_receivable_balance/models/subrogation_receipt.py index be7d290..75384ec 100644 --- a/account_factoring_receivable_balance/models/subrogation_receipt.py +++ b/account_factoring_receivable_balance/models/subrogation_receipt.py @@ -243,7 +243,7 @@ def action_post(self): # useless ): vals_list = rec._prepare_journal_entry_vals_list() - items = rec.env["account.move"].create(vals_list).action_post() + items = rec.env["account.move"].create(vals_list) items.action_post() rec.state = "posted" for line in rec.line_ids: