Files
Odoo-Modules/fusion_portal/data/ir_actions_server_data.xml
gsinghpal 747c814249 refactor(fusion_portal): rename from fusion_authorizer_portal + modern photo cards on accessibility selector
Rename module fusion_authorizer_portal -> fusion_portal everywhere:
manifest/assets, controllers, models, views, JS (odoo.define + asset URLs),
migration MODULE constants; plus cross-module refs in fusion_schedule,
fusion_repairs, fusion_quotations (depends + inherit_id) and the pdf_filler
import in fusion_claims. Add rename_module.sql for the one-time in-place DB
rename (ir_module_module, ir_model_data, ir_ui_view.key,
ir_module_module_dependency) required on installed envs before -u fusion_portal.
Document the rename gotcha as rule 16 in CLAUDE.md.

Redesign the Accessibility Assessment selector: replace Font Awesome icon tiles
with photo-banner cards using 7 optimized images (1000x750 PNG -> 800x600 JPEG,
~8MB -> 488KB), per-type colour accent bar + centered pill button, hover
lift/zoom. Images ship as module static files so they deploy/sync with the module.

Drop the regenerable graphify-out cache from the module.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 22:38:14 -04:00

43 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- ==================== BATCH SERVER ACTIONS FOR RES.PARTNER ==================== -->
<!-- Mark as Authorizer - Batch Action (Gear Menu) -->
<record id="action_mark_as_authorizer" model="ir.actions.server">
<field name="name">Mark as Authorizer</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="binding_model_id" ref="base.model_res_partner"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
action = records.action_mark_as_authorizer()
</field>
</record>
<!-- Send Portal Invitation - Batch Action (Gear Menu) -->
<record id="action_batch_send_invitation" model="ir.actions.server">
<field name="name">Send Portal Invitation</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="binding_model_id" ref="base.model_res_partner"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
action = records.action_batch_send_portal_invitation()
</field>
</record>
<!-- Mark as Authorizer & Send Invitation (Combined) - Batch Action (Gear Menu) -->
<record id="action_mark_and_invite" model="ir.actions.server">
<field name="name">Mark as Authorizer &amp; Send Invitation</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="binding_model_id" ref="base.model_res_partner"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
action = records.action_mark_and_send_invitation()
</field>
</record>
</odoo>