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>
28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- Add "My Schedule" tile inside the existing portal card grid -->
|
|
<template id="portal_my_home_schedule" name="Portal My Home: Schedule"
|
|
inherit_id="fusion_portal.portal_my_home_authorizer" priority="45">
|
|
<!-- Navigate up from a known card to the ROW div, then append inside (not inside any t-if) -->
|
|
<xpath expr="//a[@href='/my/funding-claims']/ancestor::div[hasclass('row') and hasclass('g-3') and hasclass('mb-4')]" position="inside">
|
|
<div class="col-md-6">
|
|
<a href="/my/schedule" class="card h-100 border-0 shadow-sm text-decoration-none" style="border-radius: 12px; min-height: 100px;">
|
|
<div class="card-body d-flex align-items-center p-4">
|
|
<div class="me-3">
|
|
<div class="rounded-circle d-flex align-items-center justify-content-center" t-att-style="'width: 50px; height: 50px; background: ' + (fc_gradient or 'linear-gradient(135deg, #5ba848 0%, #3a8fb7 60%, #2e7aad 100%)')">
|
|
<i class="fa fa-calendar-check-o fa-lg text-white" title="Schedule"/>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<h5 class="mb-1 text-dark">My Schedule</h5>
|
|
<small class="text-muted">View and book appointments</small>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|