Phase 1: core models, security, seed data, and backend views
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>
This commit is contained in:
56
activeblue_familylaw/static/src/css/familylaw_portal.css
Normal file
56
activeblue_familylaw/static/src/css/familylaw_portal.css
Normal file
@@ -0,0 +1,56 @@
|
||||
/* ActiveBlue Family Law — Portal CSS
|
||||
Phase 6: Full portal styling
|
||||
Phase 1: Stub
|
||||
*/
|
||||
|
||||
/* Attorney referral banner */
|
||||
.fl-attorney-referral-banner {
|
||||
background: #f8d7da;
|
||||
border: 2px solid #dc3545;
|
||||
border-radius: 6px;
|
||||
padding: 16px;
|
||||
margin-bottom: 20px;
|
||||
color: #721c24;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* DV safety banner */
|
||||
.fl-dv-safety-banner {
|
||||
background: #fff3cd;
|
||||
border: 2px solid #ffc107;
|
||||
border-radius: 6px;
|
||||
padding: 16px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Deadline urgency colors */
|
||||
.fl-deadline-overdue {
|
||||
color: #dc3545;
|
||||
font-weight: bold;
|
||||
}
|
||||
.fl-deadline-urgent {
|
||||
color: #fd7e14;
|
||||
font-weight: bold;
|
||||
}
|
||||
.fl-deadline-ok {
|
||||
color: #28a745;
|
||||
}
|
||||
|
||||
/* Support calculator */
|
||||
.fl-calculator-result {
|
||||
background: #d4edda;
|
||||
border: 1px solid #28a745;
|
||||
border-radius: 6px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
color: #155724;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
/* Bilingual toggle */
|
||||
.fl-lang-toggle {
|
||||
float: right;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
9
activeblue_familylaw/static/src/js/fl_calculator.js
Normal file
9
activeblue_familylaw/static/src/js/fl_calculator.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @odoo-module **/
|
||||
/**
|
||||
* ActiveBlue Family Law — FL 61.30 Interactive Calculator Widget
|
||||
* Phase 6: Full interactive implementation
|
||||
* Phase 1: Stub
|
||||
*/
|
||||
|
||||
// Placeholder — full FL 61.30 interactive widget implemented in Phase 6
|
||||
console.log('[ActiveBlue FamilyLaw] Calculator widget loaded (Phase 1 stub)');
|
||||
9
activeblue_familylaw/static/src/js/fl_timeline.js
Normal file
9
activeblue_familylaw/static/src/js/fl_timeline.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @odoo-module **/
|
||||
/**
|
||||
* ActiveBlue Family Law — Visual Timeline Widget
|
||||
* Phase 6: Full visual timeline
|
||||
* Phase 1: Stub
|
||||
*/
|
||||
|
||||
// Placeholder — visual deadline timeline implemented in Phase 6
|
||||
console.log('[ActiveBlue FamilyLaw] Timeline widget loaded (Phase 1 stub)');
|
||||
Reference in New Issue
Block a user