Caught and fixed by running an actual install on a throwaway DB:
- Strip 29 # comment lines from ir.model.access.csv (Odoo CSV loader treats
them as malformed rows → IndexError); 79 data rows preserved
- Remove obsolete ir.cron.numbercall field (removed in Odoo 17+) from 4 cron
records in fl_deadline_rules.xml
- Rename <tree>→<list> across 26 sites; inside x2many inline views Odoo 18 no
longer recognizes <tree>, which made it fall back to the outer model and
reject inner fields ("Field 'partner_id' does not exist in model 'fl.case'")
- Add store=True to non-stored computed fields referenced by search filters,
which Odoo 18 now rejects as unsearchable:
- fl.case: overdue_deadline_count, next_deadline_label
- fl.deposition: notice_valid
Module loads cleanly: 31 fl.* models registered, no errors.
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">
|
|
<list editable="bottom">
|
|
<field name="source_type"/>
|
|
<field name="description"/>
|
|
<field name="monthly_amount"/>
|
|
<field name="verified"/>
|
|
<field name="verification_document"/>
|
|
</list>
|
|
</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">
|
|
<list 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 ⚠"/>
|
|
</list>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|