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:
@@ -104,7 +104,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 4px; font-weight: bold;">Role in Case:</td>
|
||||
<td colspan="3" style="padding: 4px;">[ ] Petitioner [ ] Respondent</td>
|
||||
<td colspan="3" style="padding: 4px;">[ ] Petitioner    [ ] 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): $________ Mortgage/lien: $________<br/>
|
||||
Vehicles (value): $________ Loan balance: $________<br/>
|
||||
Real property (value): $________    Mortgage/lien: $________<br/>
|
||||
Vehicles (value): $________    Loan balance: $________<br/>
|
||||
Other assets: $________
|
||||
</div>
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<!-- Who is Filing -->
|
||||
<div style="margin-bottom: 16px; font-size: 11pt;">
|
||||
<strong>[ ] PETITIONER — <t t-esc="o.petitioner_id.name if o.petitioner_id else '__________________'"/></strong>
|
||||
|
||||
   
|
||||
<strong>[ ] RESPONDENT — <t t-esc="o.respondent_id.name if o.respondent_id else '__________________'"/></strong>
|
||||
</div>
|
||||
|
||||
@@ -244,7 +244,7 @@
|
||||
The above documents were provided to
|
||||
<strong><t t-esc="o.respondent_id.name if o.respondent_id else 'the opposing party'"/></strong>
|
||||
by the following method:<br/><br/>
|
||||
[ ] U.S. Mail [ ] Email [ ] Hand Delivery [ ] E-Filing Portal<br/>
|
||||
[ ] U.S. Mail    [ ] Email    [ ] Hand Delivery    [ ] E-Filing Portal<br/>
|
||||
On: _______________________, 20____
|
||||
</div>
|
||||
|
||||
|
||||
@@ -151,8 +151,8 @@
|
||||
to make major decisions. Reasons: ________________________________<br/><br/>
|
||||
|
||||
<strong>2.2 Ultimate Decision-Making Authority (if shared, for disputes):</strong><br/>
|
||||
[ ] Parent A (Petitioner) [ ] Parent B (Respondent) [ ] Mediator/Arbitrator<br/>
|
||||
For: [ ] Education [ ] Healthcare [ ] Religion [ ] Extracurricular
|
||||
[ ] Parent A (Petitioner)    [ ] Parent B (Respondent)    [ ] Mediator/Arbitrator<br/>
|
||||
For: [ ] Education    [ ] Healthcare    [ ] Religion    [ ] Extracurricular
|
||||
</div>
|
||||
|
||||
<!-- SECTION 3: TIMESHARING -->
|
||||
@@ -193,29 +193,29 @@
|
||||
<strong>3.2 Holiday Schedule</strong> (indicate which parent has each holiday):<br/>
|
||||
<table style="width: 100%; font-size: 10pt; border-collapse: collapse;">
|
||||
<tr>
|
||||
<td style="padding: 3px; width: 25%;">New Year's Day:</td><td style="padding: 3px; width: 25%;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px; width: 25%;">Spring Break:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px; width: 25%;">New Year's Day:</td><td style="padding: 3px; width: 25%;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
<td style="padding: 3px; width: 25%;">Spring Break:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 3px;">Memorial Day:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px;">Independence Day:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px;">Memorial Day:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
<td style="padding: 3px;">Independence Day:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 3px;">Labor Day:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px;">Thanksgiving:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px;">Labor Day:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
<td style="padding: 3px;">Thanksgiving:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 3px;">Winter Break (1st half):</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px;">Winter Break (2nd half):</td><td style="padding: 3px;">[ ] A [ ] B [ ] Alt</td>
|
||||
<td style="padding: 3px;">Winter Break (1st half):</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
<td style="padding: 3px;">Winter Break (2nd half):</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Alt</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 3px;">Mother's Day:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Mother</td>
|
||||
<td style="padding: 3px;">Father's Day:</td><td style="padding: 3px;">[ ] A [ ] B [ ] Father</td>
|
||||
<td style="padding: 3px;">Mother's Day:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Mother</td>
|
||||
<td style="padding: 3px;">Father's Day:</td><td style="padding: 3px;">[ ] A   [ ] B   [ ] Father</td>
|
||||
</tr>
|
||||
</table><br/>
|
||||
|
||||
<strong>3.3 School Year vs. Summer Schedule:</strong><br/>
|
||||
School year primary residence: [ ] Parent A [ ] Parent B [ ] Same as regular<br/>
|
||||
School year primary residence: [ ] Parent A    [ ] Parent B    [ ] Same as regular<br/>
|
||||
Summer schedule: ________________________________________<br/>
|
||||
Summer vacation (each parent): ___ weeks per year, with ___ days advance notice required.
|
||||
</div>
|
||||
@@ -226,7 +226,7 @@
|
||||
</div>
|
||||
<div style="font-size: 10pt; margin-bottom: 12px; line-height: 2.2;">
|
||||
Phone/video access: _____ call(s) per week, between _____ and _____ p.m.<br/>
|
||||
Method: [ ] Phone [ ] Video Call (FaceTime/Zoom) [ ] Text (with parental supervision)<br/>
|
||||
Method: [ ] Phone    [ ] Video Call (FaceTime/Zoom)    [ ] Text (with parental supervision)<br/>
|
||||
Emergency contact: Each parent shall provide the other with a current phone number
|
||||
and emergency contact at all times.
|
||||
</div>
|
||||
@@ -236,9 +236,9 @@
|
||||
SECTION 5 — TRANSPORTATION / EXCHANGE
|
||||
</div>
|
||||
<div style="font-size: 10pt; margin-bottom: 12px; line-height: 2.2;">
|
||||
Exchange location: [ ] School [ ] Neutral location: ________________________<br/>
|
||||
Exchange location: [ ] School    [ ] Neutral location: ________________________<br/>
|
||||
[ ] Each parent provides transportation to their own home<br/>
|
||||
[ ] Transporting parent: [ ] Parent A [ ] Parent B [ ] Alternate<br/>
|
||||
[ ] Transporting parent: [ ] Parent A    [ ] Parent B    [ ] Alternate<br/>
|
||||
Travel out of state: _____ days advance notice required, written consent or court order required for travel outside U.S.
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user