feat(jobs): add fusion_plating_jobs module skeleton (Phase 2 Task 2.1)
Empty module that will host the native job bridge during Phase 2 of the migration. Coexists with fusion_plating_bridge_mrp during the migration period — both can be installed simultaneously without conflict. Depends on: - fusion_plating (fp.job, fp.job.step, fp.work.centre from Phase 1) - fusion_plating_configurator (fp.part.catalog, fp.coating.config) - fusion_plating_portal (fusion.plating.portal.job) - fusion_plating_logistics (fusion.plating.delivery) - fusion_plating_quality (fusion.plating.customer.spec) - fusion_plating_certificates (fp.certificate) These deps are why these fields couldn't live in fusion_plating core (would invert the dep graph). All cross-module fields on fp.job and fp.job.step land here via _inherit in subsequent tasks. auto_install=False — opt-in only. Part of: native job model migration (spec 2026-04-25) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
fusion_plating/fusion_plating_jobs/__init__.py
Normal file
2
fusion_plating/fusion_plating_jobs/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from . import models
|
||||
40
fusion_plating/fusion_plating_jobs/__manifest__.py
Normal file
40
fusion_plating/fusion_plating_jobs/__manifest__.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
{
|
||||
'name': 'Fusion Plating — Native Jobs',
|
||||
'version': '19.0.1.0.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.',
|
||||
'description': """
|
||||
Native Plating Job Bridge
|
||||
=========================
|
||||
|
||||
Bridges fp.job and fp.job.step (defined in fusion_plating core, Phase 1 of
|
||||
the migration spec dated 2026-04-25) to the rest of the Fusion Plating
|
||||
module family — configurator, portal, logistics, quality, certificates.
|
||||
|
||||
Coexists with fusion_plating_bridge_mrp during the migration period.
|
||||
Activate native jobs via the x_fc_use_native_jobs settings flag (default:
|
||||
False). When False, SO confirm continues to create mrp.production records
|
||||
through bridge_mrp. When True, SO confirm creates fp.job records here.
|
||||
|
||||
See docs/superpowers/specs/2026-04-25-fp-native-job-model-design.md for
|
||||
full design rationale and §6.2 of the implementation plan for task list.
|
||||
""",
|
||||
'depends': [
|
||||
'fusion_plating', # fp.job, fp.job.step, fp.work.centre
|
||||
'fusion_plating_configurator', # fp.part.catalog, fp.coating.config
|
||||
'fusion_plating_portal', # fusion.plating.portal.job
|
||||
'fusion_plating_logistics', # fusion.plating.delivery
|
||||
'fusion_plating_quality', # fusion.plating.customer.spec, fp.quality.hold
|
||||
'fusion_plating_certificates', # fp.certificate
|
||||
],
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
'installable': True,
|
||||
'application': False,
|
||||
'auto_install': False,
|
||||
'license': 'OPL-1',
|
||||
}
|
||||
6
fusion_plating/fusion_plating_jobs/models/__init__.py
Normal file
6
fusion_plating/fusion_plating_jobs/models/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
#
|
||||
# Phase 2 of the native plating job model migration. Models are added
|
||||
# task-by-task in Tasks 2.2 onwards. This file imports them as they land.
|
||||
@@ -0,0 +1 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
|
Reference in New Issue
Block a user