Dries Peeters
2bd48d9e60
feat: Add client count tracking and cleanup for custom field definitions
...
- Add count_clients_with_value() method to CustomFieldDefinition model to track how many clients have values for each custom field
- Display client count in custom field definitions list view
- Automatically remove custom field values from all clients when a custom field definition is deleted
- Show user-friendly confirmation message indicating how many clients were affected when deleting a field definition
- Update client view to use custom field definitions for friendly field names instead of raw field keys
- Add comprehensive test suite for custom field definitions including model creation, client count functionality, deletion cleanup, and edge cases
- Update templates to display client counts and improve delete confirmation dialogs
2025-12-01 18:48:38 +01:00
..
2025-11-12 08:15:04 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 07:13:23 +01:00
2025-11-29 07:13:23 +01:00
2025-11-29 07:13:23 +01:00
2025-11-29 09:09:21 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 08:01:01 +01:00
2025-12-01 13:30:18 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 09:02:55 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-12-01 18:48:38 +01:00
2025-11-29 08:25:07 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 08:01:01 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 09:02:55 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 07:13:23 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 07:39:29 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-29 09:02:55 +01:00
2025-11-29 06:17:07 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00
2025-11-28 20:05:37 +01:00