Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
2
sale_order_price_recalculation/models/__init__.py
Executable file
2
sale_order_price_recalculation/models/__init__.py
Executable file
@@ -0,0 +1,2 @@
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
from . import sale_order
|
||||
17
sale_order_price_recalculation/models/sale_order.py
Executable file
17
sale_order_price_recalculation/models/sale_order.py
Executable file
@@ -0,0 +1,17 @@
|
||||
# Copyright 2014 Carlos Sánchez Cifuentes <csanchez@grupovermon.com>
|
||||
# Copyright 2015-2020 Tecnativa - Pedro M. Baeza
|
||||
# Copyright 2015 Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
|
||||
# Copyright 2016 Vicent Cubells <vicent.cubells@tecnativa.com>
|
||||
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
|
||||
# Copyright 2023 glueckkanja AG - CRogos
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
from odoo import models
|
||||
|
||||
|
||||
class SaleOrder(models.Model):
|
||||
_inherit = "sale.order"
|
||||
|
||||
def action_update_names(self):
|
||||
lines = self.mapped("order_line")
|
||||
lines._compute_name()
|
||||
return True
|
||||
Reference in New Issue
Block a user