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:
@@ -237,5 +237,5 @@ class FusionEmailBuilderMixin(models.AbstractModel):
|
||||
def _email_is_enabled(self):
|
||||
"""Check if email notifications are enabled in settings."""
|
||||
ICP = self.env['ir.config_parameter'].sudo()
|
||||
val = ICP.get_param('fusion_claims.enable_email_notifications', 'True')
|
||||
val = ICP.get_param('fusion_tasks.enable_email_notifications', 'True')
|
||||
return val.lower() in ('true', '1', 'yes')
|
||||
|
||||
Reference in New Issue
Block a user