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:
2026-05-29 14:15:25 +00:00
parent 6f6129550e
commit 983964c6d2
18 changed files with 156 additions and 156 deletions

View File

@@ -104,7 +104,7 @@
</tr>
<tr>
<td style="padding: 4px; font-weight: bold;">Role in Case:</td>
<td colspan="3" style="padding: 4px;">[ ] Petitioner &nbsp;&nbsp; [ ] Respondent</td>
<td colspan="3" style="padding: 4px;">[ ] Petitioner &#160;&#160; [ ] Respondent</td>
</tr>
</table>
@@ -155,8 +155,8 @@
</div>
<div style="font-size: 10pt; margin-bottom: 12px; line-height: 2.0;">
Cash on hand / bank accounts: $________<br/>
Real property (value): $________ &nbsp;&nbsp; Mortgage/lien: $________<br/>
Vehicles (value): $________ &nbsp;&nbsp; Loan balance: $________<br/>
Real property (value): $________ &#160;&#160; Mortgage/lien: $________<br/>
Vehicles (value): $________ &#160;&#160; Loan balance: $________<br/>
Other assets: $________
</div>