[FIX] account_quotation_sale_order_invoice_title : fix _prepare_invoice_values signature #33

Merged
mondot merged 1 commits from account_quotation_sale_order_invoice_title-fix-advance-payment-invoices into 18.0 2026-08-03 15:03:55 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Account Quotation Sale Order Invoice Title",
"version": "18.0.1.0.0",
"version": "18.0.1.0.1",
"category": "Accounting",
"summary": "Add title field in Quotations, Sale Orders and Invoices",
"author": "Elabore",

View File

@@ -4,7 +4,7 @@ from odoo import models
class SaleAdvancePaymentInv(models.TransientModel):
_inherit = "sale.advance.payment.inv"
def _prepare_invoice_values(self, order, so_line):
res = super()._prepare_invoice_values(order, so_line)
def _prepare_invoice_values(self, order, so_line, accounts):
res = super()._prepare_invoice_values(order, so_line, accounts)
res["move_title"] = order.so_title
return res