folder rename
This commit is contained in:
78
fusion_plating/fusion_plating_compliance_on/README.md
Normal file
78
fusion_plating/fusion_plating_compliance_on/README.md
Normal file
@@ -0,0 +1,78 @@
|
||||
# Fusion Plating - Ontario Compliance Pack
|
||||
|
||||
Ontario (Canada) regulatory data pack for the `fusion_plating_compliance`
|
||||
framework. Pure data pack - no Python, no views, no security.
|
||||
|
||||
## What this module loads
|
||||
|
||||
### Ontario regulators (`data/fp_regulator_data.xml`)
|
||||
|
||||
Creates `fusion.plating.regulator` records for:
|
||||
|
||||
| Code | Regulator | Category |
|
||||
|-------|------------------------------------------------------------------------|-----------------|
|
||||
| MECP | Ontario Ministry of the Environment, Conservation and Parks | Environmental |
|
||||
| MOL | Ontario Ministry of Labour, Immigration, Training and Skills Dev. | Health & Safety |
|
||||
| TSSA | Technical Standards and Safety Authority | Other |
|
||||
| RPRA | Resource Productivity and Recovery Authority | Waste |
|
||||
| MOH | Ontario Ministry of Health | Health & Safety |
|
||||
|
||||
All records are linked to the `jurisdiction_ca_on` jurisdiction seeded by
|
||||
the framework module.
|
||||
|
||||
### Ontario waste stream templates (`data/fp_waste_stream_template_data.xml`)
|
||||
|
||||
Reference documentation for O. Reg. 347 waste stream templates that
|
||||
installers should create against each customer facility. The framework's
|
||||
`fusion.plating.waste.stream` model requires `facility_id`, so these
|
||||
cannot be shipped as template records. The file contains an XML comment
|
||||
listing all 8 templates (codes, waste classes, physical state, description).
|
||||
|
||||
### Ontario compliance obligations (`data/fp_compliance_obligation_data.xml`)
|
||||
|
||||
Reference documentation for 9 recurring Ontario compliance obligations
|
||||
(NPRI Annual, RPRA Annual, ECA Source Test, Reg. 419/05 ESDM, JHSC
|
||||
Quarterly, Reg. 833 Exposure Monitoring, Spill Drill, TSSA Boiler,
|
||||
Fire Code). The framework's `fusion.plating.compliance.event` model
|
||||
requires `due_date`, so these cannot be shipped as template records.
|
||||
The file contains an XML comment listing each obligation with its
|
||||
event_type, linked regulator, cadence, and notes.
|
||||
|
||||
### Discharge reference (`data/fp_discharge_reference_data.xml`)
|
||||
|
||||
Intentionally empty data file. Ontario's Water Resources Act delegates
|
||||
sewer discharge standards to municipalities, so numeric discharge limits
|
||||
are loaded by municipal packs (e.g. `fusion_plating_compliance_tor` for
|
||||
Toronto Chapter 681).
|
||||
|
||||
## Regulatory reference
|
||||
|
||||
- **EPA** - Environmental Protection Act (Ontario)
|
||||
- **OWRA** - Ontario Water Resources Act
|
||||
- **OHSA** - Occupational Health and Safety Act
|
||||
- **O. Reg. 347** - Waste Management (defines subject waste, waste classes)
|
||||
- **O. Reg. 419/05** - Air Pollution - Local Air Quality (ESDM reports)
|
||||
- **O. Reg. 833** - Control of Exposure to Biological or Chemical Agents
|
||||
- **O. Reg. 851** - Industrial Establishments
|
||||
- **O. Reg. 213/07** - Fire Code
|
||||
- **O. Reg. 490/09** - Designated Substances (11 substances; nickel is NOT
|
||||
on this list, but hexavalent chromium IS regulated under Reg. 833)
|
||||
- **ECA** - Environmental Compliance Approval (issued by MECP under EPA)
|
||||
- **RPRA HWP Registry** - mandatory generator registry since 2023
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
docker exec odoo-dev-app odoo -d fusion-dev -i fusion_plating_compliance_on --stop-after-init
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
- `fusion_plating_compliance` (framework)
|
||||
|
||||
## Companion packs
|
||||
|
||||
- `fusion_plating_compliance_tor` - City of Toronto Chapter 681
|
||||
- `fusion_plating_compliance_mis` - City of Mississauga (planned)
|
||||
- `fusion_plating_compliance_ham` - City of Hamilton (planned)
|
||||
- `fusion_plating_compliance_cam` - City of Cambridge (planned)
|
||||
4
fusion_plating/fusion_plating_compliance_on/__init__.py
Normal file
4
fusion_plating/fusion_plating_compliance_on/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
# Part of the Fusion Plating product family.
|
||||
41
fusion_plating/fusion_plating_compliance_on/__manifest__.py
Normal file
41
fusion_plating/fusion_plating_compliance_on/__manifest__.py
Normal file
@@ -0,0 +1,41 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
# Part of the Fusion Plating product family.
|
||||
{
|
||||
'name': 'Fusion Plating - Ontario Compliance Pack',
|
||||
'version': '19.0.1.0.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Ontario-specific regulators, waste stream templates, and compliance obligation templates for the Fusion Plating compliance framework.',
|
||||
'description': """
|
||||
Fusion Plating - Ontario Compliance Pack
|
||||
=========================================
|
||||
|
||||
Loads Ontario-specific regulatory reference data into the
|
||||
``fusion_plating_compliance`` framework:
|
||||
|
||||
* Ontario regulators: MECP, MOL, TSSA, RPRA, MOH
|
||||
* Waste stream template reference (O. Reg. 347 waste classes)
|
||||
* Common compliance obligation reference (NPRI, RPRA HWP, ECA, JHSC, etc.)
|
||||
* Notes explaining where numeric discharge limits come from (municipal packs)
|
||||
|
||||
This is a pure data pack - no Python models, no views, no security.
|
||||
Actual numeric sewer discharge limits are delegated to municipal packs
|
||||
(e.g. ``fusion_plating_compliance_tor`` for Toronto Chapter 681).
|
||||
""",
|
||||
'author': 'Nexa Systems Inc.',
|
||||
'website': 'https://www.nexasystems.ca',
|
||||
'license': 'OPL-1',
|
||||
'price': 0.00,
|
||||
'currency': 'CAD',
|
||||
'depends': ['fusion_plating_compliance'],
|
||||
'data': [
|
||||
'data/fp_regulator_data.xml',
|
||||
'data/fp_waste_stream_template_data.xml',
|
||||
'data/fp_compliance_obligation_data.xml',
|
||||
'data/fp_discharge_reference_data.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'application': False,
|
||||
'auto_install': False,
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
Ontario compliance obligation templates (reference data).
|
||||
|
||||
NOTE: fusion.plating.compliance.event requires due_date (required=True),
|
||||
so we cannot ship date-less template records. Instead, this file
|
||||
documents the recurring Ontario compliance obligations that installers
|
||||
should create against each customer facility with the appropriate
|
||||
due date for that facility. Link each event to the regulator record
|
||||
from fp_regulator_data.xml.
|
||||
|
||||
==================================================================
|
||||
Obligation 1: NPRI Annual Report (Ontario)
|
||||
event_type: report_due
|
||||
regulator: fusion_plating_compliance_on.reg_on_mecp (MECP)
|
||||
cadence: Annual
|
||||
due: June 1 each year for prior calendar year
|
||||
notes: Annual National Pollutant Release Inventory report,
|
||||
due June 1 for prior calendar year.
|
||||
..................................................................
|
||||
Obligation 2: RPRA Hazardous Waste Annual Report
|
||||
event_type: report_due
|
||||
regulator: fusion_plating_compliance_on.reg_on_rpra (RPRA)
|
||||
cadence: Annual
|
||||
notes: Annual hazardous waste generator report via RPRA
|
||||
HWP Registry.
|
||||
..................................................................
|
||||
Obligation 3: ECA Air - Source Testing
|
||||
event_type: sample_due
|
||||
regulator: fusion_plating_compliance_on.reg_on_mecp (MECP)
|
||||
cadence: Per ECA conditions (typically every 5 years)
|
||||
notes: Stack source testing per ECA conditions, typically
|
||||
every 5 years.
|
||||
..................................................................
|
||||
Obligation 4: Reg. 419/05 ESDM Report Update
|
||||
event_type: report_due
|
||||
regulator: fusion_plating_compliance_on.reg_on_mecp (MECP)
|
||||
cadence: Triggered by process or equipment changes
|
||||
notes: Emission Summary and Dispersion Modelling report
|
||||
update.
|
||||
..................................................................
|
||||
Obligation 5: JHSC Quarterly Meeting
|
||||
event_type: inspection
|
||||
regulator: fusion_plating_compliance_on.reg_on_mol (MOL)
|
||||
cadence: Quarterly
|
||||
notes: Required JHSC meeting cadence for workplaces with
|
||||
20+ workers.
|
||||
..................................................................
|
||||
Obligation 6: Reg. 833 Exposure Monitoring
|
||||
event_type: sample_due
|
||||
regulator: fusion_plating_compliance_on.reg_on_mol (MOL)
|
||||
cadence: Periodic (risk-based)
|
||||
notes: Periodic worker exposure sampling for regulated
|
||||
chemical agents.
|
||||
..................................................................
|
||||
Obligation 7: Spill Response Drill
|
||||
event_type: training_expiry
|
||||
regulator: fusion_plating_compliance_on.reg_on_mecp (MECP)
|
||||
cadence: Annual
|
||||
notes: Annual spill response drill and plan review.
|
||||
..................................................................
|
||||
Obligation 8: TSSA Boiler/Pressure Vessel Inspection
|
||||
event_type: inspection
|
||||
regulator: fusion_plating_compliance_on.reg_on_tssa (TSSA)
|
||||
cadence: Annual
|
||||
notes: Annual TSSA inspection of regulated equipment.
|
||||
..................................................................
|
||||
Obligation 9: Fire Code Inspection
|
||||
event_type: inspection
|
||||
regulator: fusion_plating_compliance_on.reg_on_moh (MOH)
|
||||
cadence: Annual
|
||||
notes: Annual Fire Code inspection under O. Reg. 213/07.
|
||||
==================================================================
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
Reference notes: Ontario's Water Resources Act delegates sewer discharge
|
||||
standards to municipalities. Actual numeric discharge limits are loaded
|
||||
by municipal packs:
|
||||
* fusion_plating_compliance_tor - City of Toronto Chapter 681
|
||||
* fusion_plating_compliance_mis - City of Mississauga (planned)
|
||||
* fusion_plating_compliance_ham - City of Hamilton (planned)
|
||||
* fusion_plating_compliance_cam - City of Cambridge (planned)
|
||||
|
||||
This file intentionally ships no records.
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
Ontario regulators for the Fusion Plating compliance framework.
|
||||
The Ontario jurisdiction (xml id: fusion_plating_compliance.jurisdiction_ca_on)
|
||||
is seeded by the framework module.
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="reg_on_mecp" model="fusion.plating.regulator">
|
||||
<field name="name">Ontario Ministry of the Environment, Conservation and Parks</field>
|
||||
<field name="code">MECP</field>
|
||||
<field name="category">environmental</field>
|
||||
<field name="jurisdiction_id" ref="fusion_plating_compliance.jurisdiction_ca_on"/>
|
||||
<field name="website">https://www.ontario.ca/page/ministry-environment-conservation-parks</field>
|
||||
<field name="contact_info">Provincial regulator responsible for the Environmental Protection Act (EPA), the Ontario Water Resources Act (OWRA), O. Reg. 347 (Waste Management), O. Reg. 419/05 (Air Pollution - Local Air Quality), and Environmental Compliance Approvals (ECAs).</field>
|
||||
</record>
|
||||
|
||||
<record id="reg_on_mol" model="fusion.plating.regulator">
|
||||
<field name="name">Ontario Ministry of Labour, Immigration, Training and Skills Development</field>
|
||||
<field name="code">MOL</field>
|
||||
<field name="category">health_safety</field>
|
||||
<field name="jurisdiction_id" ref="fusion_plating_compliance.jurisdiction_ca_on"/>
|
||||
<field name="website">https://www.ontario.ca/page/ministry-labour-immigration-training-skills-development</field>
|
||||
<field name="contact_info">Provincial regulator for the Occupational Health and Safety Act (OHSA), O. Reg. 851 (Industrial Establishments), O. Reg. 833 (Control of Exposure to Biological or Chemical Agents), O. Reg. 490/09 (Designated Substances), and workplace JHSC requirements.</field>
|
||||
</record>
|
||||
|
||||
<record id="reg_on_tssa" model="fusion.plating.regulator">
|
||||
<field name="name">Technical Standards and Safety Authority</field>
|
||||
<field name="code">TSSA</field>
|
||||
<field name="category">other</field>
|
||||
<field name="jurisdiction_id" ref="fusion_plating_compliance.jurisdiction_ca_on"/>
|
||||
<field name="website">https://www.tssa.org</field>
|
||||
<field name="contact_info">Delegated administrative authority for Ontario's Technical Standards and Safety Act. Regulates boilers and pressure vessels, fuels (propane, natural gas), elevating devices, and operating engineers.</field>
|
||||
</record>
|
||||
|
||||
<record id="reg_on_rpra" model="fusion.plating.regulator">
|
||||
<field name="name">Resource Productivity and Recovery Authority</field>
|
||||
<field name="code">RPRA</field>
|
||||
<field name="category">waste</field>
|
||||
<field name="jurisdiction_id" ref="fusion_plating_compliance.jurisdiction_ca_on"/>
|
||||
<field name="website">https://rpra.ca</field>
|
||||
<field name="contact_info">Operator of the Hazardous Waste Program (HWP) Registry since 2023. Generators of subject waste under O. Reg. 347 must register, submit manifests, and file annual reports through the HWP Registry.</field>
|
||||
</record>
|
||||
|
||||
<record id="reg_on_moh" model="fusion.plating.regulator">
|
||||
<field name="name">Ontario Ministry of Health</field>
|
||||
<field name="code">MOH</field>
|
||||
<field name="category">health_safety</field>
|
||||
<field name="jurisdiction_id" ref="fusion_plating_compliance.jurisdiction_ca_on"/>
|
||||
<field name="website">https://www.ontario.ca/page/ministry-health</field>
|
||||
<field name="contact_info">Provincial ministry overseeing public health. Fire Code inspections under O. Reg. 213/07 are administered locally by municipal fire services operating under provincial authority.</field>
|
||||
</record>
|
||||
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
Ontario waste stream templates (reference data).
|
||||
|
||||
NOTE: fusion.plating.waste.stream requires facility_id (required=True),
|
||||
so we cannot ship facility-less template records. Instead, this file
|
||||
documents the Ontario waste stream templates that installers should
|
||||
create manually against each customer facility. Copy the values below
|
||||
into the waste stream form under your facility.
|
||||
|
||||
All entries are subject waste under O. Reg. 347 (Waste Management)
|
||||
unless noted otherwise. Generators must register and report annually
|
||||
through the RPRA Hazardous Waste Program (HWP) Registry.
|
||||
|
||||
==================================================================
|
||||
Template 1: Nickel plating sludge
|
||||
code: NI-SLUDGE-ON
|
||||
waste_class: 148
|
||||
physical_state: sludge
|
||||
description: O. Reg. 347 subject waste. Register quantities
|
||||
annually with RPRA HWP Registry.
|
||||
..................................................................
|
||||
Template 2: Chrome plating sludge
|
||||
code: CR-SLUDGE-ON
|
||||
waste_class: 148
|
||||
physical_state: sludge
|
||||
description: Contains hexavalent chromium. Severely toxic
|
||||
waste under O. Reg. 347 Schedule 3.
|
||||
..................................................................
|
||||
Template 3: Spent acid solutions
|
||||
code: SP-ACID-ON
|
||||
waste_class: 122
|
||||
physical_state: liquid
|
||||
description: Corrosive hazardous waste. Requires manifested
|
||||
transport.
|
||||
..................................................................
|
||||
Template 4: Spent caustic solutions
|
||||
code: SP-CAUS-ON
|
||||
waste_class: 123
|
||||
physical_state: liquid
|
||||
description: Corrosive hazardous waste. Requires manifested
|
||||
transport.
|
||||
..................................................................
|
||||
Template 5: Oily waste
|
||||
code: OILY-ON
|
||||
waste_class: 252
|
||||
physical_state: liquid
|
||||
description: Used oil and oily water. O. Reg. 347 subject
|
||||
waste.
|
||||
..................................................................
|
||||
Template 6: Spent filter media
|
||||
code: FILTER-ON
|
||||
waste_class: 148
|
||||
physical_state: solid
|
||||
description: Contaminated filter cartridges and carbon.
|
||||
..................................................................
|
||||
Template 7: Empty chemical containers
|
||||
code: EMPTY-ON
|
||||
waste_class: 211
|
||||
physical_state: solid
|
||||
description: Triple-rinsed empty containers under 5 gallons
|
||||
may not require manifest.
|
||||
..................................................................
|
||||
Template 8: Off-spec / expired chemical returns
|
||||
code: OFFSPEC-ON
|
||||
waste_class: 148
|
||||
physical_state: liquid
|
||||
description: Off-spec or expired plating chemicals.
|
||||
==================================================================
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user