mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-22 03:12:07 +02:00
21 lines
657 B
Python
21 lines
657 B
Python
# Copyright 2020 ForgeFlow S.L. (http://www.forgeflow.com)
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
|
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResCompany(models.Model):
|
|
_inherit = "res.company"
|
|
|
|
ddmrp_auto_update_nfp = fields.Boolean(
|
|
string="Update NFP on Stock Buffers on relevant events.",
|
|
help="Transfer status changes can trigger the update of relevant "
|
|
"buffer's NFP.",
|
|
)
|
|
ddmrp_adu_calc_include_scrap = fields.Boolean(
|
|
string="Include scrap locations in ADU calculation",
|
|
)
|
|
ddmrp_qty_multiple_tolerance = fields.Float(
|
|
string="Qty Multiple Tolerance",
|
|
)
|