mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Add an option to allow the new behavior : leave parent level empty if the depth of workcenter parents is lower than the parent level number
10 lines
214 B
Python
10 lines
214 B
Python
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResCompany(models.Model):
|
|
_inherit = "res.company"
|
|
|
|
workcenter_parent_level_empty = fields.Boolean()
|