mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 00:32:00 +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
|
|
@ -0,0 +1,43 @@
|
|||
# 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 ResConfigSettings(models.TransientModel):
|
||||
_inherit = "res.config.settings"
|
||||
|
||||
module_ddmrp_history = fields.Boolean(
|
||||
string="Store historical data from stock buffers",
|
||||
)
|
||||
module_ddmrp_adjustment = fields.Boolean(
|
||||
string="apply adjustments to dynamically alter buffers",
|
||||
)
|
||||
module_ddmrp_coverage_days = fields.Boolean(
|
||||
string="Shows the current on-hand for stock buffers expressed "
|
||||
"as coverage days.",
|
||||
)
|
||||
module_ddmrp_packaging = fields.Boolean(
|
||||
string="Use packagings on stock buffers.",
|
||||
)
|
||||
module_stock_buffer_capacity_limit = fields.Boolean(
|
||||
string="Storage Capacity Limits",
|
||||
)
|
||||
module_ddmrp_warning = fields.Boolean(
|
||||
string="Configuration Warnings in Stock Buffers",
|
||||
)
|
||||
module_ddmrp_chatter = fields.Boolean(
|
||||
string="Chatter in Stock Buffers",
|
||||
)
|
||||
module_ddmrp_purchase_hide_onhand_status = fields.Boolean(
|
||||
string="Hide Purchase On-Hand Status",
|
||||
)
|
||||
ddmrp_auto_update_nfp = fields.Boolean(
|
||||
related="company_id.ddmrp_auto_update_nfp", readonly=False
|
||||
)
|
||||
ddmrp_adu_calc_include_scrap = fields.Boolean(
|
||||
related="company_id.ddmrp_adu_calc_include_scrap", readonly=False
|
||||
)
|
||||
ddmrp_qty_multiple_tolerance = fields.Float(
|
||||
related="company_id.ddmrp_qty_multiple_tolerance", readonly=False
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue