Replace em-dashes and en-dashes with hyphens across 789 shipped source files (py/xml/js/scss) so the delivered module reads as human-written; em-dashes had become a recognizable AI-generated tell. Internal .md dev notes are excluded. The WO-sticker mojibake strippers keep their dash search targets (now written — / –). No logic changes: comments and display strings only; validated with py_compile + lxml parse. Rewrite the 7 customer notification emails to be intake-neutral (ship-in / drop-off / pickup) and repair-aware, and fix the Shipped email documents line (packing slip vs bill of lading; certificate only when issued). Subjects use a hyphen separator. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
987 B
Python
27 lines
987 B
Python
# -*- 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.',
|
|
)
|