refactor(fusion_tasks): update deps, config, crons for delivery context

- Change depends to [base, mail, hr, fusion_plating_logistics]
- Rename module to 'Fusion Plating -- Delivery Tasks'
- Replace all fusion_claims.* config params with fusion_tasks.*
- Remove sync crons (pull_remote_tasks, cleanup_old_shadows)
- Remove sync config ACL lines from ir.model.access.csv
- Replace sales_team group refs with hr/base equivalents
- Update license from OPL-1 to LGPL-3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-04-12 20:28:38 -04:00
parent e10bf9d8fd
commit 10607c48f0
11 changed files with 73 additions and 104 deletions

View File

@@ -14,13 +14,12 @@ def _fusion_tasks_post_init(env):
"""
ICP = env['ir.config_parameter'].sudo()
defaults = {
'fusion_claims.google_maps_api_key': '',
'fusion_claims.store_open_hour': '9.0',
'fusion_claims.store_close_hour': '18.0',
'fusion_claims.push_enabled': 'False',
'fusion_claims.push_advance_minutes': '30',
'fusion_claims.sync_instance_id': '',
'fusion_claims.technician_start_address': '',
'fusion_tasks.google_maps_api_key': '',
'fusion_tasks.store_open_hour': '9.0',
'fusion_tasks.store_close_hour': '18.0',
'fusion_tasks.push_enabled': 'False',
'fusion_tasks.push_advance_minutes': '30',
'fusion_tasks.technician_start_address': '',
}
for key, default_value in defaults.items():
if not ICP.get_param(key):