init 18.0

This commit is contained in:
2025-10-07 16:00:46 +02:00
parent c7254a7b84
commit 9cd897fb0c
120 changed files with 3 additions and 5951 deletions

View File

@@ -1,4 +0,0 @@
# -*- coding: utf-8 -*-
from . import account_move
from . import sale

View File

@@ -1,9 +0,0 @@
# -*- coding: utf-8 -*-
from odoo import models, fields
class AccountMove(models.Model):
_inherit = 'account.move'
move_title = fields.Char(string="Invoice Title")

View File

@@ -1,14 +0,0 @@
# -*- coding: utf-8 -*-
from odoo import models, fields
class SaleOrder(models.Model):
_inherit = "sale.order"
so_title = fields.Char(string="Title")
def _prepare_invoice(self):
res = super(SaleOrder, self)._prepare_invoice()
res["move_title"] = self.so_title
return res