-
Notifications
You must be signed in to change notification settings - Fork 0
feat: implement Time Capture for Freelancers (DRC-179) #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Implements Time Capture functionality for Freelancers by creating a new Freelancer Time Capture doctype that shares common validation logic with the existing Time Capture system. The feature includes freelancer user management, role-based permissions, and workspace configuration.
- Creates
Freelancer Time Capture
doctype with shared validation and timesheet creation logic - Adds freelancer user creation and management system with restricted module access
- Refactors common Time Capture logic into a shared controller module
Reviewed Changes
Copilot reviewed 18 out of 20 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
time_capture_controller.py | New shared controller containing common validation and timesheet creation logic |
freelancer_time_capture.py | Main doctype implementation for freelancer time tracking |
create_freelancer.py | Utility doctype for creating pre-configured freelancer users |
time_capture.py | Refactored to use shared controller functions |
patches/create_freelancer_role.py | Database migration to create Freelancer role and permissions |
time_capture_utils.js | Shared JavaScript utilities for task queries |
Freelancer Time Capture
Overview
The Freelancer Time Capture feature extends the Time Capture app to support external freelancers who need to log their working hours on projects and tasks.
This feature provides a simplified interface specifically designed for freelancers with restricted access to only the Time Capture module.
Key Features
1. Assisted Freelancer User Creation
2. Freelancer Time Capture Document
New DocType: Freelancer Time Capture.
Similiar (but simpler) to Time Capture.
3. Workspace Integration
Technical Implementation
Validation Rules
Integration Points
Usage Workflow
For System Managers
For Freelancers
Permissions
Configuration
The feature integrates with the existing Time Capture settings and follows the same validation patterns as the main Time Capture functionality. No additional configuration is required beyond the standard Time Capture app setup.