Skip to content

Commit

Permalink
[IMP] l10n_it_riba: remove payment reconciliation
Browse files Browse the repository at this point in the history
  • Loading branch information
odooNextev committed Feb 23, 2024
1 parent adc75b1 commit a6dbfc3
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions l10n_it_riba/wizard/wizard_past_due.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)],
Expand Down

0 comments on commit a6dbfc3

Please sign in to comment.