Files
Odoo-Modules/fusion_plating/fusion_tasks/__manifest__.py
gsinghpal 145b424760 fix(seeds): noupdate=1 on remaining 3 user-editable seed files
Audit of all 86 data XML files in the fusion_plating module set
turned up 3 more files that lacked noupdate=1 protection — every
module upgrade would re-import them and silently overwrite user
customisations. Following the ENP-ALUM-BASIC recovery (a68bf2e),
locked these too:

1. fusion_tasks/data/ir_cron_data.xml — 4 ir.cron records
   (technician travel times, push notifications, late-arrival
   checks, location cleanup). Users may disable / re-schedule.

2. fusion_plating_shopfloor/data/fp_cron_data.xml — 1 ir.cron
   (Bake Window state updater). Same reasoning.

3. fusion_plating_bridge_maintenance/data/fp_maintenance_stage_data.xml
   — 3 maintenance.stage records (kanban columns: New / Active /
   Completed). Admin may rename, reorder, or add new stages.

Companion entech-side action (executed via SQL during the fix
session): 11 ir.model.data rows for these records were updated to
noupdate=true so the next module upgrade respects the new flag.

Files left explicitly noupdate=0 — verified safe:
- fusion_plating/data/fp_landing_data.xml — 1 ir.actions.server
  (system action, code-defined; re-import is harmless)
- fusion_plating_reports/data/fp_hide_default_reports.xml —
  re-asserts deletion of default Odoo report bindings; intentional
  to re-run on every upgrade

Final audit confirmed 0 user-editable noupdate=false records remain.
ir.model.inherit + report.paperformat rows still noupdate=false but
those are system metadata (Odoo manages) and Odoo's standard
paperformat pattern, both safe.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 08:32:30 -04:00

43 lines
1.5 KiB
Python

# -*- coding: utf-8 -*-
# Copyright 2024-2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)
{
'name': 'Fusion Plating — Delivery Tasks',
'version': '19.0.1.1.0',
'category': 'Services/Field Service',
'summary': 'Local delivery dispatch with GPS tracking and route planning.',
'description': 'Delivery task management for fusion plating logistics. '
'Handles driver scheduling, GPS tracking, travel time calculation, '
'and push notifications for delivery, pickup, and rush runs.',
'author': 'Nexa Systems Inc.',
'website': 'https://www.nexasystems.ca',
'license': 'LGPL-3',
'depends': [
'base',
'mail',
'hr',
'fusion_plating_logistics',
],
'data': [
'security/security.xml',
'security/ir.model.access.csv',
'data/ir_cron_data.xml',
'views/technician_task_views.xml',
'views/technician_location_views.xml',
'views/res_config_settings_views.xml',
],
'post_init_hook': '_fusion_tasks_post_init',
# Map view assets temporarily disabled — JS imports may not resolve on
# factory enterprise Odoo 19. Needs path verification.
# 'assets': {
# 'web.assets_backend': [
# 'fusion_tasks/static/src/css/fusion_task_map_view.scss',
# 'fusion_tasks/static/src/js/fusion_task_map_view.js',
# 'fusion_tasks/static/src/xml/fusion_task_map_view.xml',
# ],
# },
'installable': True,
'application': True,
}