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>
This commit is contained in:
42
fusion_portal/data/ir_actions_server_data.xml
Normal file
42
fusion_portal/data/ir_actions_server_data.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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 & 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>
|
||||
Reference in New Issue
Block a user