Atomic counter via SELECT FOR UPDATE on the parent SO row. Composes child names as PREFIX-PARENT (bare for first) or PREFIX-PARENT-NN (zero-padded 2-digit, then unpadded past 99). Subclasses implement three hooks: _fp_parent_sale_order, _fp_name_prefix, _fp_parent_counter_field. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51 lines
1.6 KiB
Python
51 lines
1.6 KiB
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 . import fp_parent_numbered_mixin
|
|
from . import fp_process_category
|
|
from . import fp_process_type
|
|
from . import fp_facility
|
|
from . import fp_work_center
|
|
from . import fp_work_centre
|
|
from . import fp_tank_section
|
|
from . import fp_tank
|
|
from . import fp_tank_composition
|
|
from . import fp_bath
|
|
from . import fp_bath_log
|
|
from . import fp_bath_log_line
|
|
from . import fp_bath_parameter
|
|
from . import fp_bath_replenishment_rule
|
|
from . import fp_process_node
|
|
from . import fp_rack
|
|
from . import fp_job
|
|
from . import fp_job_step
|
|
from . import fp_job_step_timelog
|
|
from . import fp_operator_certification
|
|
from . import fp_tz
|
|
from . import res_company
|
|
from . import res_config_settings
|
|
|
|
# Phase 1 (Sub 11) — relocated from fusion_plating_bridge_mrp via
|
|
# fusion_plating_jobs to core, so other downstream modules
|
|
# (fusion_plating_cgp, etc.) that touch hr.employee can see the
|
|
# shop-roles fields without a transitive dep on jobs.
|
|
from . import fp_work_role
|
|
from . import fp_proficiency
|
|
from . import hr_employee
|
|
from . import fp_process_node_inherit
|
|
|
|
# Sub 12a — Simple Recipe Editor + Step Library
|
|
from . import fp_step_kind # MUST load before fp_step_template (dependency)
|
|
from . import fp_step_template
|
|
from . import fp_step_template_input
|
|
from . import fp_step_template_transition_input
|
|
|
|
# Sub 12b — Rack-aware moves + persistent labor reconciliation
|
|
from . import fp_rack_tag
|
|
from . import fp_job_step_move
|
|
|
|
# Phase 1 — Plating landing-page resolver
|
|
from . import fp_landing
|