- 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>
22 lines
572 B
Python
22 lines
572 B
Python
from . import fl_statute
|
|
from . import fl_child
|
|
from . import fl_party
|
|
from . import fl_support
|
|
from . import fl_fee_waiver
|
|
from . import fl_income_withholding
|
|
from . import fl_expense_case
|
|
from . import fl_deadline
|
|
from . import fl_hearing
|
|
from . import fl_deposition
|
|
from . import fl_discovery
|
|
from . import fl_document
|
|
from . import fl_caselaw
|
|
from . import fl_analysis
|
|
from . import fl_ai_engine
|
|
from . import fl_argument
|
|
from . import fl_case
|
|
from . import fl_conflict_check
|
|
from . import fl_paralegal_agent
|
|
from . import fl_attorney_agent
|
|
from . import fl_timesheet
|