[IMP] account_move_attachement_zipped_download, account_quotation_sale_order_invoice_title, account_usability_misc: pre-commit execution

This commit is contained in:
Stéphan Sainléger
2026-03-17 23:04:52 +01:00
parent bb6891d825
commit 07669b8bf9
33 changed files with 1314 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
from odoo import models
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["move_title"] = order.so_title
return res