Migrate views to Odoo 17/18 syntax; fix pre-existing XML blockers
- Convert all 124 attrs="{...}" across 13 view files to direct Odoo 17/18
attributes (invisible/readonly/required with Python expressions); prefix-domain
OR/AND/NOT and operators handled (e.g. "(is_overdue or days_until_due > 7) and completed")
- Fix pre-existing XML errors that blocked module load on any version:
- Replace invalid HTML entity with   in 4 files (reports + portal)
- Merge duplicate style= attributes (3 spots in website_intake_templates)
- Replace 3 illegal <t t-if> embedded in class="" attributes with t-attf-class
- All 44 module XML files now parse clean
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<!-- Hero -->
|
||||
<div class="text-center mb-5">
|
||||
<h1 style="color:#003366;" data-lang="en">Florida Family Law — Self-Help Portal</h1>
|
||||
<h1 style="color:#003366;" data-lang="es" style="display:none;">Portal de Autoayuda — Derecho de Familia de Florida</h1>
|
||||
<h1 style="color:#003366;display:none;" data-lang="es">Portal de Autoayuda — Derecho de Familia de Florida</h1>
|
||||
<p class="lead text-muted" data-lang="en">
|
||||
Free tools for pro se litigants in Miami-Dade County (11th Circuit).<br/>
|
||||
Child support modification, paternity, dissolution, and more.
|
||||
@@ -151,7 +151,7 @@
|
||||
|
||||
<!-- Header -->
|
||||
<h2 style="color:#003366;" class="mb-1" data-lang="en">Start Your Case</h2>
|
||||
<h2 style="color:#003366;" class="mb-1" data-lang="es" style="display:none;">Iniciar Su Caso</h2>
|
||||
<h2 style="color:#003366;display:none;" class="mb-1" data-lang="es">Iniciar Su Caso</h2>
|
||||
<p class="text-muted mb-4" data-lang="en">Fill in the information below. We'll help you generate the right court forms and track your deadlines.</p>
|
||||
<p class="text-muted mb-4" data-lang="es" style="display:none;">Complete la información a continuación. Le ayudaremos a generar los formularios judiciales correctos y rastrear sus fechas límite.</p>
|
||||
|
||||
@@ -328,7 +328,7 @@
|
||||
<div class="alert alert-info" style="font-size:0.85rem;" data-lang="en">
|
||||
Use <strong>monthly net income</strong> (after taxes, FICA, and required deductions per FL 61.30(3)).
|
||||
</div>
|
||||
<div class="alert alert-info" style="font-size:0.85rem;" data-lang="es" style="display:none;">
|
||||
<div class="alert alert-info" style="font-size:0.85rem;display:none;" data-lang="es">
|
||||
Use el <strong>ingreso neto mensual</strong> (después de impuestos, FICA y deducciones requeridas por FL 61.30(3)).
|
||||
</div>
|
||||
|
||||
@@ -461,7 +461,7 @@
|
||||
<div class="container mt-5 mb-5 text-center">
|
||||
<div style="font-size:3rem;">✅</div>
|
||||
<h2 style="color:#003366;" data-lang="en">Your Case Has Been Created!</h2>
|
||||
<h2 style="color:#003366;" data-lang="es" style="display:none;">¡Su Caso Ha Sido Creado!</h2>
|
||||
<h2 style="color:#003366;display:none;" data-lang="es">¡Su Caso Ha Sido Creado!</h2>
|
||||
<p class="lead" data-lang="en">
|
||||
Case <strong><t t-esc="case_name"/></strong> is now open.
|
||||
An email confirmation has been sent to <strong><t t-esc="petitioner_email"/></strong>.
|
||||
|
||||
Reference in New Issue
Block a user