folder rename
This commit is contained in:
26
fusion_plating/fusion_plating_nuclear/models/res_company.py
Normal file
26
fusion_plating/fusion_plating_nuclear/models/res_company.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
# Part of the Fusion Plating product family.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
"""Extend company with a default nuclear records retention policy.
|
||||
|
||||
Nuclear quality records typically have to be retained for 40 years
|
||||
or longer — far beyond the standard document-retention rule of a
|
||||
commercial shop. This field sets the company-wide default used
|
||||
when a pedigree record has no N299 level linked or when a higher
|
||||
authority needs to be applied.
|
||||
"""
|
||||
_inherit = 'res.company'
|
||||
|
||||
x_fc_nuclear_retention_years = fields.Integer(
|
||||
string='Nuclear Retention (Years)',
|
||||
default=40,
|
||||
help='Default records-retention period for nuclear quality records, '
|
||||
'applied when no N299 level or spec override is set. Typical '
|
||||
'Canadian nuclear practice is 40 years or life-of-plant.',
|
||||
)
|
||||
Reference in New Issue
Block a user