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>
75 lines
3.5 KiB
XML
75 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="view_fl_child_form" model="ir.ui.view">
|
|
<field name="name">fl.child.form</field>
|
|
<field name="model">fl.child</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Child">
|
|
<div class="alert alert-warning" role="alert"
|
|
attrs="{'invisible': [('approaching_emancipation', '=', False)]}">
|
|
<strong>⚠️ APPROACHING EMANCIPATION:</strong>
|
|
<field name="name" readonly="1"/> turns 18 in
|
|
<field name="days_until_emancipation" readonly="1"/> days
|
|
(<field name="emancipation_date" readonly="1"/>).
|
|
File Motion to Modify 60 days before emancipation.
|
|
</div>
|
|
<sheet>
|
|
<group>
|
|
<group>
|
|
<field name="case_id"/>
|
|
<field name="name"/>
|
|
<field name="date_of_birth"/>
|
|
<field name="age" readonly="1"/>
|
|
<field name="gender"/>
|
|
<field name="school"/>
|
|
<field name="medical_provider"/>
|
|
</group>
|
|
<group string="Emancipation">
|
|
<field name="emancipation_date" readonly="1"/>
|
|
<field name="days_until_emancipation" readonly="1"/>
|
|
<field name="approaching_emancipation" readonly="1"/>
|
|
<field name="emancipated" readonly="1"/>
|
|
<field name="emancipation_alert_sent"/>
|
|
</group>
|
|
</group>
|
|
<group string="Early Emancipation Factors">
|
|
<field name="married"/>
|
|
<field name="active_military"/>
|
|
<field name="declared_emancipated"/>
|
|
<field name="emancipation_notes"/>
|
|
</group>
|
|
<group string="Support Amounts">
|
|
<field name="support_amount"/>
|
|
<field name="health_insurance_premium"/>
|
|
<field name="childcare_cost"/>
|
|
<field name="extraordinary_expenses"/>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_fl_child_tree" model="ir.ui.view">
|
|
<field name="name">fl.child.tree</field>
|
|
<field name="model">fl.child</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Children"
|
|
decoration-warning="approaching_emancipation == True"
|
|
decoration-muted="emancipated == True">
|
|
<field name="name"/>
|
|
<field name="date_of_birth"/>
|
|
<field name="age"/>
|
|
<field name="emancipation_date"/>
|
|
<field name="days_until_emancipation"/>
|
|
<field name="approaching_emancipation"/>
|
|
<field name="emancipated"/>
|
|
<field name="support_amount"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|