mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-22 20:52:06 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
21
odoo-bringout-oca-ddmrp-ddmrp/ddmrp/models/res_company.py
Normal file
21
odoo-bringout-oca-ddmrp-ddmrp/ddmrp/models/res_company.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# 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",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue