bmc_hub/app/timetracking/backend
Christian 0fdf4549d6 Fix: Tilføj RETURNING id til order INSERT statements
CRITICAL BUG FIX:
- execute_insert() kalder cursor.fetchone() men INSERT havde ingen RETURNING clause
- Forårsagede '500: no results to fetch' ved order oprettelse
- Tilføjet RETURNING id til:
  * tmodule_orders INSERT (linje 222)
  * tmodule_order_lines INSERT (linje 240)
- Opdateret database.py docstring til at gøre RETURNING requirement klart

ERROR: ProgrammingError - no results to fetch
  → INSERT INTO tmodule_orders ... VALUES (...)
  → Manglede RETURNING id
2025-12-23 00:29:25 +01:00
..
__init__.py feat(timetracking): Implement time tracking module with frontend views, HTML templates, and database migrations 2025-12-09 22:46:30 +01:00
audit.py feat(timetracking): Implement time tracking module with frontend views, HTML templates, and database migrations 2025-12-09 22:46:30 +01:00
economic_export.py feat: Implement central tagging system with CRUD operations, entity tagging, and workflow management 2025-12-17 07:56:33 +01:00
models.py feat: Implement email processing system with scheduler, fetching, classification, and rule matching 2025-12-11 02:31:29 +01:00
order_service.py Fix: Tilføj RETURNING id til order INSERT statements 2025-12-23 00:29:25 +01:00
router.py feat: Implement internal comments for customer subscriptions with database support 2025-12-16 22:07:20 +01:00
vtiger_sync.py feat: Implement internal comments for customer subscriptions with database support 2025-12-16 22:07:20 +01:00
wizard.py feat: Implement internal comments for customer subscriptions with database support 2025-12-16 22:07:20 +01:00