Skip to content

Commit

Permalink
Merge PR OCA#2863 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 19, 2023
2 parents 823110f + 6fcc5ba commit d5f320b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sale_payment_sheet/models/sale_payment_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def button_confirm_sheet(self):

if key not in vals_dic:
vals_dic[key] = {
"name": line.name,
"date": line.date,
"amount": amount_line,
"partner_id": line.partner_id.id,
Expand All @@ -164,7 +163,6 @@ def button_confirm_sheet(self):
}
else:
vals_dic[key]["amount"] += amount_line
vals_dic[key]["name"] += " {}".format(line.invoice_id.name)
vals_dic[key]["payment_sheet_line_ids"] += line
for vals in vals_dic.values():
payment_sheet_line_ids = vals.pop("payment_sheet_line_ids", None)
Expand Down

0 comments on commit d5f320b

Please sign in to comment.