odoo-timesheets/src/timesheets
Jef Roosens 8f5232d1fe
Fix weekly summary crash on open entries
print_summary_weekly, print_summary_weekly_totals and _aggregate summed
raw duration_hours, which is None for open (unfinished) entries, raising
TypeError: float + NoneType. Skip open entries from the weekly totals,
matching to_csv_entries and parser.aggregate. Add regression tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 09:31:17 +02:00
..
__init__.py feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
cli.py Add ~ marker to exclude entries from CSV export 2026-06-02 09:31:16 +02:00
config.py Add date_format config key for csv command 2026-06-02 09:31:15 +02:00
joplin.py feat(joplin): add --joplin flag to fetch weekly timesheet note from Joplin 2026-06-02 09:31:02 +02:00
output.py Fix weekly summary crash on open entries 2026-06-02 09:31:17 +02:00
parser.py Round overlap resolution midpoint to nearest 5 minutes 2026-06-02 09:31:17 +02:00
projects.py feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
status.py feat(status): add status subcommand with day and week metrics 2026-06-02 09:31:08 +02:00
utils.py feat(cli): add natural language date parsing via dateparser 2026-06-02 09:31:05 +02:00