odoo-timesheets/tests
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
..
2026 - W21.md feat(parser): support multiple tables in a single markdown document 2026-06-02 09:31:02 +02:00
__init__.py feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
test_config.py Add date_format config key for csv command 2026-06-02 09:31:15 +02:00
test_joplin.py feat(joplin): add --joplin flag to fetch weekly timesheet note from Joplin 2026-06-02 09:31:02 +02:00
test_output.py Fix weekly summary crash on open entries 2026-06-02 09:31:17 +02:00
test_parser.py Round overlap resolution midpoint to nearest 5 minutes 2026-06-02 09:31:17 +02:00
test_projects.py feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
test_status.py feat(status): add status subcommand with day and week metrics 2026-06-02 09:31:08 +02:00
test_utils.py feat(cli): add natural language date parsing via dateparser 2026-06-02 09:31:05 +02:00