- 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>
127 lines
6.7 KiB
XML
127 lines
6.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="view_fl_party_form" model="ir.ui.view">
|
|
<field name="name">fl.party.form</field>
|
|
<field name="model">fl.party</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Party Details">
|
|
<sheet>
|
|
<group>
|
|
<group>
|
|
<field name="case_id"/>
|
|
<field name="partner_id"/>
|
|
<field name="role"/>
|
|
<field name="preferred_language"/>
|
|
</group>
|
|
<group string="Employment">
|
|
<field name="employment_type"/>
|
|
<field name="employer_name"/>
|
|
<field name="employer_address"/>
|
|
<field name="employer_phone"/>
|
|
</group>
|
|
</group>
|
|
|
|
<notebook>
|
|
<page string="Income (FL 61.30)">
|
|
<group>
|
|
<group string="Gross Income">
|
|
<field name="gross_monthly_income"/>
|
|
</group>
|
|
<group string="Statutory Deductions (FL 61.30(3))">
|
|
<field name="fed_tax_monthly"/>
|
|
<field name="fica_ss_monthly" readonly="1"/>
|
|
<field name="fica_medicare_monthly" readonly="1"/>
|
|
<field name="mandatory_retirement"/>
|
|
<field name="mandatory_union_dues"/>
|
|
<field name="health_insurance_self"/>
|
|
<field name="other_court_ordered_support"/>
|
|
</group>
|
|
</group>
|
|
<group>
|
|
<field name="net_monthly_income" readonly="1"/>
|
|
<field name="effective_monthly_income" readonly="1"/>
|
|
</group>
|
|
<separator string="Income Sources"/>
|
|
<field name="income_source_ids">
|
|
<tree editable="bottom">
|
|
<field name="source_type"/>
|
|
<field name="description"/>
|
|
<field name="monthly_amount"/>
|
|
<field name="verified"/>
|
|
<field name="verification_document"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
<page string="Income Imputation (FL 61.30(2)(b))">
|
|
<group>
|
|
<field name="income_imputed"/>
|
|
<field name="imputed_amount"
|
|
invisible="not income_imputed"/>
|
|
<field name="fl_minimum_wage_hourly"/>
|
|
<field name="fl_minimum_wage_monthly" readonly="1"/>
|
|
<field name="imputation_basis"
|
|
invisible="not income_imputed"/>
|
|
</group>
|
|
<separator string="Lifestyle Analysis (Barner v. Barner)"/>
|
|
<group>
|
|
<field name="lifestyle_inconsistency_flag"/>
|
|
<field name="lifestyle_notes"
|
|
invisible="not lifestyle_inconsistency_flag"/>
|
|
</group>
|
|
</page>
|
|
<page string="Service & SSN">
|
|
<group>
|
|
<group string="Service of Process">
|
|
<field name="service_address"/>
|
|
<field name="service_method"/>
|
|
<field name="process_server_id"
|
|
invisible="service_method != 'personal'"/>
|
|
</group>
|
|
<group string="SSN (FL-12.930(a))">
|
|
<field name="ssn_last4"/>
|
|
<field name="ssn_notice_filed"/>
|
|
<field name="ssn_handwritten_confirmed"/>
|
|
</group>
|
|
</group>
|
|
<div class="alert alert-warning" role="alert"
|
|
invisible="service_method != 'publication'">
|
|
<strong>⚠️ Service by Publication</strong> is the most complex
|
|
service method and requires a diligent search affidavit.
|
|
Attorney representation is strongly recommended.
|
|
</div>
|
|
</page>
|
|
<page string="Portal Access">
|
|
<group>
|
|
<field name="portal_user_id"/>
|
|
<field name="portal_access_granted"/>
|
|
<field name="portal_invite_sent"/>
|
|
</group>
|
|
</page>
|
|
</notebook>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_fl_party_tree" model="ir.ui.view">
|
|
<field name="name">fl.party.tree</field>
|
|
<field name="model">fl.party</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Parties">
|
|
<field name="case_id"/>
|
|
<field name="partner_id"/>
|
|
<field name="role"/>
|
|
<field name="employment_type"/>
|
|
<field name="gross_monthly_income"/>
|
|
<field name="net_monthly_income"/>
|
|
<field name="income_imputed"/>
|
|
<field name="lifestyle_inconsistency_flag" string="Lifestyle ⚠"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|