Files
famlaw/activeblue_familylaw/__manifest__.py
tocmo0nlord 70c951a7ef Add timesheet / AI-audit time tracking (wraps account.analytic.line)
- fl.timesheet via delegation inheritance on account.analytic.line so billable
  hours flow through standard Odoo Accounting; duration_hours maps to unit_amount
- Fields: case_id, employee_id, is_billable, ai_agent, duration_hours, computed
  hourly_rate/billable_amount (rate from hr.employee.fl_hourly_rate, else firm
  default ir.config_parameter fl_timesheet.default_hourly_rate)
- _resolve_analytic_account: prefers the case project's analytic account
  (version-agnostic field lookup), falls back to a cached firm account under any
  available analytic plan — handles the required account_id on the wrapped line
- Add 'analytic' to manifest depends; ACL for fl.timesheet and account.analytic.line
  (admin + paralegal) so non-admins can post entries
- fl.case: timesheet_ids + total_billable_hours/amount + total_ai_audit_hours +
  currency_id; new Time & Billing tab; Timesheets menu + standalone views
- Both AI agents now log non-billable audit entries via sudo() (paralegal +
  attorney, ai_agent set); logging stays a guarded no-op if creation fails

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 00:26:00 +00:00

92 lines
3.3 KiB
Python

{
'name': 'ActiveBlue Family Law',
'version': '18.0.1.0.0',
'category': 'Legal',
'summary': 'Florida Family Law Case Management — Pro Se',
'description': """
Florida family law case management for pro se litigants.
Covers child support modification, dissolution of marriage,
and paternity cases in Miami-Dade County (11th Circuit).
Includes FL 61.30 child support calculator, document generation,
deadline tracking, and AI-powered case law analysis via Claude API.
""",
'author': 'Active Blue LLC',
'website': 'https://avc.activeblue.net',
'depends': [
'base',
'mail',
'portal',
'website',
'contacts',
'calendar',
'project',
'crm',
'account',
'hr_expense',
'analytic',
# 'sign', # Odoo Sign — enable when confirmed installed
# 'queue_job', # OCA queue_job — install from https://github.com/OCA/queue
],
'data': [
# Security
'security/fl_security.xml',
'security/ir.model.access.csv',
# Seed data (load before views)
'data/fl_stage_data.xml',
'data/fl_issue_tags.xml',
'data/fl_statute_data.xml',
'data/fl_support_schedule.xml',
'data/ir_sequence.xml',
'data/fl_deadline_rules.xml',
'data/mail_templates.xml',
'data/fl_caselaw_data.xml',
'data/case_task_templates.xml',
# Views — backend (actions before menus so menuitem refs resolve)
'views/fl_case_views.xml',
'views/fl_party_views.xml',
'views/fl_child_views.xml',
'views/fl_support_views.xml',
'views/fl_deadline_views.xml',
'views/fl_hearing_views.xml',
'views/fl_deposition_views.xml',
'views/fl_discovery_views.xml',
'views/fl_caselaw_views.xml',
'views/fl_analysis_views.xml',
'views/fl_fee_waiver_views.xml',
'views/fl_statute_views.xml',
'views/fl_wizard_views.xml',
'views/fl_discovery_suggest_views.xml',
'views/fl_conflict_check_views.xml',
'views/fl_timesheet_views.xml',
'views/menu_views.xml',
# Phase 4 — QWeb PDF Reports
'report/report_financial_affidavit_short.xml',
'report/report_financial_affidavit_long.xml',
'report/report_child_support_worksheet.xml',
'report/report_motion_to_modify.xml',
'report/report_notice_deposition.xml',
'report/report_motion_to_compel.xml',
'report/report_income_withholding.xml',
'report/report_fee_waiver.xml',
'report/report_notice_ssn.xml',
'report/report_mandatory_disclosure.xml',
'report/report_default_motion.xml',
'report/report_parenting_plan.xml',
# Phase 6 — Portal & Website Templates
'views/portal_case_templates.xml',
'views/portal_calculator_templates.xml',
'views/portal_caselaw_templates.xml',
'views/website_intake_templates.xml',
],
'assets': {
'web.assets_frontend': [
'activeblue_familylaw/static/src/css/familylaw_portal.css',
'activeblue_familylaw/static/src/js/fl_calculator.js',
'activeblue_familylaw/static/src/js/fl_timeline.js',
],
},
'installable': True,
'application': True,
'license': 'LGPL-3',
}