mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
13 lines
331 B
Python
13 lines
331 B
Python
# Copyright 2022 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
|
|
|
from odoo import models
|
|
|
|
|
|
class MrpBom(models.Model):
|
|
_inherit = "mrp.bom"
|
|
|
|
def _get_lot_number_propagation_bom_types(self):
|
|
types = super()._get_lot_number_propagation_bom_types()
|
|
return types + ["subcontract"]
|