Tier 2 — Quality & audit readiness:
- T2.1 SPC on thickness readings (fp.certificate)
- spec_min_mils / spec_max_mils auto-pulled from coating config on create
- Computed: std_dev_mils, min/max, cpk, cpk_status (incapable/marginal/
capable/excellent/insufficient)
- Western Electric trend rules (rule 1: any point beyond 3σ; rule 4:
8 consecutive on one side of mean) → trend_alert + explanation
- New SPC group on certificate form with badge-coloured indicators
- T2.2 Operator certification enforcement (fp.operator.certification)
- Per (employee, process_type) records with issued/expires dates,
training record attachment, revocation workflow
- State auto-computed: active → expired when date passes
- MrpWorkorder.button_start() blocks with UserError if current user's
linked hr.employee lacks an active cert for the bath's process_type
- Managers bypass the check; expiring-soon filter in search view
- HR Employee form: "Plating Certifications" tab
- T2.3 Material traceability chain
- fusion.plating.batch.workorder_id (new Many2one) + production_id
(related through WO) for full chain
- fp.certificate gets computed batch_ids / bath_ids / batch_count
- "Batches" stat button → list of batches used for this cert's MO,
with their chemistry logs intact
- T2.4 Pre-treatment as first-class baths
- process_family selection on fusion.plating.process.type
(pre_treatment / plating / post_treatment / bake / strip / passivation /
masking / inspection)
- Bath search view: Pre-Treatments / Plating / Post-Treatments / Strip
quick filters
- Existing bath infra (logs, replenishment, SPC) now applies to pre-
treatment baths equally
Tier 3 — Business / revenue:
- T3.1 Customer-specific price lists (fp.customer.price.list)
- Per (customer, coating_config) with unit_price + basis (per_part /
sqin / sqft / lb)
- effective_from / effective_to for annual contract pricing
- min_quantity for volume breaks (cheapest price at requested qty wins)
- _find_price() helper resolves active entry by date + qty
- Direct Order wizard auto-fills unit_price on (partner, coating, qty)
change unless operator has typed an override
- Configurator menu → Customer Price Lists
- T3.2 Quote win/loss tracking (fp.quote.configurator)
- State values: draft → confirmed (won) / lost / expired / cancelled
- lost_reason selection (price / lead_time / tech / spec_mismatch /
no_bid / no_response / competitor / other) + lost_competitor_name
+ lost_details text
- Action buttons: Mark as Lost (requires reason), Mark as Expired
- won_date auto-set on SO creation; lost_date auto-set on mark_lost
- New "Win / Loss" tab on configurator form
- T3.3 Actuals vs. quoted margin (mrp.production)
- Computed monetary fields: x_fc_consumables_cost, x_fc_labour_cost,
x_fc_actual_cost, x_fc_quoted_revenue, x_fc_margin_actual,
x_fc_margin_pct
- Labour = sum(WO duration × workcentre cost_hour)
- Revenue = SO amount_untaxed via mo.origin lookup
- New "Job Costing" group on MO form with badge-coloured margin
- T3.4 Job consumables tracking (fp.job.consumption)
- One row per consumable event (bath replenisher, masking tape, PPE,
chemistry): product, qty, uom, unit_cost (snapshot), total_cost,
source, optional workorder link
- One2many x_fc_consumption_ids on mrp.production
- "Consumables" stat button on MO → filtered list
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.5 KiB
2.5 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_fp_bridge_mrp_workcenter_manager | fp.bridge.mrp.workcenter.manager | mrp.model_mrp_workcenter | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 0 |
| 3 | access_fp_bridge_mrp_workcenter_supervisor | fp.bridge.mrp.workcenter.supervisor | mrp.model_mrp_workcenter | fusion_plating.group_fusion_plating_supervisor | 1 | 0 | 0 | 0 |
| 4 | access_fp_bridge_mrp_workorder_manager | fp.bridge.mrp.workorder.manager | mrp_workorder.model_mrp_workorder | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 0 |
| 5 | access_fp_bridge_mrp_workorder_supervisor | fp.bridge.mrp.workorder.supervisor | mrp_workorder.model_mrp_workorder | fusion_plating.group_fusion_plating_supervisor | 1 | 0 | 0 | 0 |
| 6 | access_fp_bridge_mrp_production_manager | fp.bridge.mrp.production.manager | mrp.model_mrp_production | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 0 |
| 7 | access_fp_bridge_mrp_production_supervisor | fp.bridge.mrp.production.supervisor | mrp.model_mrp_production | fusion_plating.group_fusion_plating_supervisor | 1 | 0 | 0 | 0 |
| 8 | access_fp_job_node_override_operator | fp.job.node.override.operator | model_fusion_plating_job_node_override | fusion_plating.group_fusion_plating_operator | 1 | 0 | 0 | 0 |
| 9 | access_fp_job_node_override_supervisor | fp.job.node.override.supervisor | model_fusion_plating_job_node_override | fusion_plating.group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 10 | access_fp_job_node_override_manager | fp.job.node.override.manager | model_fusion_plating_job_node_override | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 11 | access_fp_recipe_config_wizard_supervisor | fp.recipe.config.wizard.supervisor | model_fp_recipe_config_wizard | fusion_plating.group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 12 | access_fp_recipe_config_wizard_manager | fp.recipe.config.wizard.manager | model_fp_recipe_config_wizard | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 13 | access_fp_recipe_config_wizard_line_supervisor | fp.recipe.config.wizard.line.supervisor | model_fp_recipe_config_wizard_line | fusion_plating.group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 14 | access_fp_recipe_config_wizard_line_manager | fp.recipe.config.wizard.line.manager | model_fp_recipe_config_wizard_line | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 1 |
| 15 | access_fp_job_consumption_operator | fp.job.consumption.operator | model_fp_job_consumption | fusion_plating.group_fusion_plating_operator | 1 | 1 | 1 | 0 |
| 16 | access_fp_job_consumption_supervisor | fp.job.consumption.supervisor | model_fp_job_consumption | fusion_plating.group_fusion_plating_supervisor | 1 | 1 | 1 | 0 |
| 17 | access_fp_job_consumption_manager | fp.job.consumption.manager | model_fp_job_consumption | fusion_plating.group_fusion_plating_manager | 1 | 1 | 1 | 1 |