From 23aded25ab6ec11325514d396029db8b28a09704 Mon Sep 17 00:00:00 2001 From: odooNextev Date: Fri, 23 Feb 2024 10:29:35 +0100 Subject: [PATCH] [IMP] l10n_it_riba: remove past due payment reconciliation --- l10n_it_riba/wizard/wizard_past_due.py | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/l10n_it_riba/wizard/wizard_past_due.py b/l10n_it_riba/wizard/wizard_past_due.py index 7cf4216b41d1..16e4a1629ca0 100644 --- a/l10n_it_riba/wizard/wizard_past_due.py +++ b/l10n_it_riba/wizard/wizard_past_due.py @@ -130,27 +130,6 @@ def create_move(self): "journal_id": wizard.past_due_journal_id.id, "date": slip_line.due_date, "line_ids": [ - ( - 0, - 0, - { - "name": _("Bills"), - "account_id": wizard.effects_account_id.id, - "partner_id": slip_line.partner_id.id, - "credit": wizard.effects_amount, - "debit": 0.0, - }, - ), - ( - 0, - 0, - { - "name": _("RiBa"), - "account_id": wizard.riba_bank_account_id.id, - "debit": wizard.riba_bank_amount, - "credit": 0.0, - }, - ), ( 0, 0, @@ -205,6 +184,7 @@ def create_move(self): i.id for i in riba_move_line.move_line_id.past_due_invoice_ids ] + riba_move_line.move_line_id.remove_move_reconcile() move_model.browse(invoice_ids).write( { "past_due_move_line_ids": [(4, move_line.id)],