Implements full Phase 1 of the activeblue_familylaw Odoo 18 module: - 17 Python models (fl.case, fl.party, fl.child, fl.support.calculation, fl.fee.waiver, fl.income.withholding, fl.deadline, fl.hearing, fl.deposition, fl.discovery, fl.document, fl.caselaw, fl.analysis, fl.ai.engine, fl.argument, fl.statute, fl.issue.tag) + hr.expense extension - 3 wizard stubs (intake, analysis, generate-packet) - Security: 4 groups (admin/paralegal/portal-petitioner/portal-respondent) + record rules scoping portal users to their own cases - Seed data: issue tags, FL statutes, FL DCF support schedule, ir.sequence - 13 backend view XML files with FL 61.30 worksheet, fee waiver eligibility banner, DV safety resources, emancipation alerts - Static CSS/JS stubs for Phase 6 portal Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
106 lines
5.0 KiB
XML
106 lines
5.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="view_fl_caselaw_tree" model="ir.ui.view">
|
|
<field name="name">fl.caselaw.tree</field>
|
|
<field name="model">fl.caselaw</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Case Law Library">
|
|
<field name="short_name"/>
|
|
<field name="year"/>
|
|
<field name="court"/>
|
|
<field name="favorable_to"/>
|
|
<field name="issue_tag_ids" widget="many2many_tags"/>
|
|
<field name="superseded_by_2023_reform"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_fl_caselaw_form" model="ir.ui.view">
|
|
<field name="name">fl.caselaw.form</field>
|
|
<field name="model">fl.caselaw</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Case Law">
|
|
<sheet>
|
|
<div class="alert alert-warning" role="alert"
|
|
attrs="{'invisible': [('superseded_by_2023_reform', '=', False)]}">
|
|
<strong>⚠️ NOTE:</strong> This case involves permanent alimony
|
|
which was <strong>eliminated by HB 1409 (effective July 1, 2023)</strong>.
|
|
Pre-2023 permanent alimony holdings may not apply to new cases.
|
|
</div>
|
|
<group>
|
|
<group>
|
|
<field name="short_name"/>
|
|
<field name="citation"/>
|
|
<field name="court"/>
|
|
<field name="year"/>
|
|
<field name="favorable_to"/>
|
|
</group>
|
|
<group>
|
|
<field name="statute_ref_ids" widget="many2many_tags"/>
|
|
<field name="issue_tag_ids" widget="many2many_tags"/>
|
|
<field name="full_text_url" widget="url"/>
|
|
<field name="google_scholar_url" widget="url"/>
|
|
<field name="superseded_by_2023_reform"/>
|
|
<field name="active"/>
|
|
</group>
|
|
</group>
|
|
<group string="Holding">
|
|
<field name="holding" nolabel="1"/>
|
|
</group>
|
|
<group string="Facts Summary">
|
|
<field name="facts_summary" nolabel="1"/>
|
|
</group>
|
|
<group string="Why It Matters for Pro Se Litigants">
|
|
<field name="relevance" nolabel="1"/>
|
|
</group>
|
|
<group string="Plain English (EN)">
|
|
<field name="plain_english" nolabel="1"/>
|
|
</group>
|
|
<group string="Plain English (ES)">
|
|
<field name="plain_english_es" nolabel="1"/>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_fl_caselaw_search" model="ir.ui.view">
|
|
<field name="name">fl.caselaw.search</field>
|
|
<field name="model">fl.caselaw</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Search Case Law">
|
|
<field name="short_name"/>
|
|
<field name="citation"/>
|
|
<field name="holding"/>
|
|
<field name="issue_tag_ids"/>
|
|
<separator/>
|
|
<filter string="3rd DCA (Miami-Dade)" name="3rd_dca"
|
|
domain="[('court', '=', '3rd_dca')]"/>
|
|
<filter string="FL Supreme Court" name="supreme"
|
|
domain="[('court', '=', 'fl_supreme')]"/>
|
|
<filter string="Petitioner-Favorable" name="petitioner"
|
|
domain="[('favorable_to', '=', 'petitioner')]"/>
|
|
<filter string="Not Superseded" name="current"
|
|
domain="[('superseded_by_2023_reform', '=', False)]"/>
|
|
<group expand="0" string="Group By">
|
|
<filter string="Court" name="group_court"
|
|
context="{'group_by': 'court'}"/>
|
|
<filter string="Issue" name="group_issue"
|
|
context="{'group_by': 'issue_tag_ids'}"/>
|
|
</group>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_fl_caselaw_list" model="ir.actions.act_window">
|
|
<field name="name">Case Law Library</field>
|
|
<field name="res_model">fl.caselaw</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="search_view_id" ref="view_fl_caselaw_search"/>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|