[MIG] account_quotation_sale_order_invoice_title: Migration to 18.0

This commit is contained in:
Stéphan Sainléger
2026-03-17 23:04:52 +01:00
parent d6c6872c5c
commit 8cef75a9b3
11 changed files with 26 additions and 79 deletions

View File

@@ -1,3 +1 @@
# -*- coding: utf-8 -*-
from . import sale_make_invoice_advance

View File

@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from odoo import models
@@ -7,8 +5,6 @@ class SaleAdvancePaymentInv(models.TransientModel):
_inherit = "sale.advance.payment.inv"
def _prepare_invoice_values(self, order, so_line):
res = super(SaleAdvancePaymentInv, self)._prepare_invoice_values(
order, so_line
)
res = super()._prepare_invoice_values(order, so_line)
res["move_title"] = order.so_title
return res