Files
TimeTracker/tests
Dries Peeters 279a2fb667 fix: resolve Excel export 500 error caused by incorrect project.client access
- Fixed AttributeError when accessing project.client.name in Excel export
- Project.client is a string property returning the client name, not an object
- Changed all incorrect .name accesses to use the string property directly
- Added unit tests for Excel export functionality to prevent regression

Fixes bug where exporting time entries to Excel resulted in 500 server error
with message: 'str' object has no attribute 'name'

Files changed:
- app/utils/excel_export.py: Fixed time entries export client column
- app/routes/reports.py: Fixed project report export client field
- app/templates/projects/view.html: Fixed project view template
- tests/test_excel_export.py: Added comprehensive Excel export tests
2025-11-03 08:32:10 +01:00
..
2025-10-31 17:26:32 +01:00
2025-10-31 17:26:32 +01:00
2025-10-27 17:46:50 +01:00
2025-10-10 11:37:23 +02:00
2025-10-27 17:46:50 +01:00
2025-10-10 14:02:28 +02:00
2025-11-01 08:44:02 +01:00
2025-11-01 09:04:06 +01:00
2025-10-31 19:24:47 +01:00
2025-10-20 21:25:13 +02:00
2025-10-27 17:46:50 +01:00
2025-10-20 21:25:13 +02:00
2025-10-22 11:25:10 +02:00
2025-11-01 10:26:45 +01:00
2025-10-31 19:24:47 +01:00
2025-10-25 08:38:53 +02:00
2025-10-25 08:38:53 +02:00
2025-10-29 18:42:10 +01:00
2025-10-10 11:37:23 +02:00
2025-10-27 17:46:50 +01:00
2025-10-27 17:46:50 +01:00
2025-10-24 15:14:39 +02:00
2025-10-23 14:00:53 +02:00
2025-10-24 18:16:15 +02:00
2025-10-24 18:16:15 +02:00
2025-10-31 19:24:47 +01:00
2025-10-10 11:37:23 +02:00
2025-10-31 14:13:16 +01:00
2025-10-24 15:03:34 +02:00
2025-10-24 15:14:39 +02:00