| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Project (project)
• Discuss (mail) • Employees (hr) |
| Lines of code | 409 |
| Technical Name |
erpl_import_emp_timesheet |
| License | OPL-1 |
| Website | https://www.erplabz.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Project (project)
• Discuss (mail) • Employees (hr) |
| Lines of code | 409 |
| Technical Name |
erpl_import_emp_timesheet |
| License | OPL-1 |
| Website | https://www.erplabz.com |
| Versions | 16.0 17.0 18.0 19.0 |
ERP Labz Import Employee Timesheet
ERP Labz Import Employee Timesheet is a powerful Odoo module that allows you to import employee timesheet entries from CSV or Excel files into Odoo. This module simplifies the process of bulk importing timesheet data, making it easy to manage employee work hours and project tracking.
Key Features
- CSV Import: Import timesheets from CSV files with customizable delimiters
- Excel Import: Import timesheets from Excel (XLSX) files
- Flexible Field Mapping: Supports multiple field name variations
- Employee Management: Automatically links timesheets to employees
- Project & Task Support: Link timesheets to projects and tasks
- Date Format Flexibility: Supports multiple date formats (YYYY-MM-DD, DD/MM/YYYY, etc.)
- Error Handling: Detailed error logging for failed imports
- Import Logs: Track all import operations with success/failure statistics
- Header Detection: Automatic detection of header row in files
- Multiple Encoding Support: Supports UTF-8, Latin-1, and Windows-1252 encodings
- User-Friendly Interface: Easy-to-use wizard for importing timesheets
Supported Fields
The module supports importing the following timesheet fields:
| Field Name | Alternative Names | Required | Description |
|---|---|---|---|
| Employee | Employee Name, employee_name, user, User, user_name, User Name | Yes | Employee name or user name |
| Project | Project Name, project_name, project | No | Project name to link timesheet to |
| Task | Task Name, task_name, task | No | Task name to link timesheet to |
| Date | Timesheet Date, date, timesheet_date | Yes | Date of the timesheet entry |
| Hours | Unit Amount, unit_amount, Time, time, Duration, duration | Yes | Number of hours worked |
| Description | Name, name, Comment, comment, Note, note | No | Description of work performed |
Date Formats Supported
- YYYY-MM-DD (e.g., 2024-01-15)
- DD/MM/YYYY (e.g., 15/01/2024)
- MM/DD/YYYY (e.g., 01/15/2024)
- DD-MM-YYYY (e.g., 15-01-2024)
- YYYY/MM/DD (e.g., 2024/01/15)
- DD.MM.YYYY (e.g., 15.01.2024)
How to Use
- Install the module from Apps menu
- Go to Timesheets → Import Timesheet
- Click Import Timesheet button
- In the wizard:
- Upload your CSV or Excel file
- Select the file type (CSV or Excel)
- Check "First row is header" if your file has headers
- For CSV files, specify the delimiter (comma, semicolon, tab, etc.)
- Click Import button
- Review the import results and check the import log for any errors
File Format Example
CSV Format:
Employee,Project,Task,Date,Hours,Description
John Doe,Website Development,Frontend Development,2024-01-15,8.0,Worked on user interface
Jane Smith,Website Development,Backend Development,2024-01-15,7.5,API development
John Doe,Website Development,Testing,2024-01-16,6.0,Unit testing
Excel Format:
Excel files should follow the same structure with the first row containing column headers.
Import Options
- First row is header: Check this if your file's first row contains column names.
- CSV Delimiter: Specify the delimiter used in your CSV file (comma, semicolon, tab, space).
Import Logs
All import operations are logged with detailed information including:
- Total number of records processed
- Number of successful imports
- Number of failed imports
- Detailed error messages for failed records
- Import date and user information
You can view import logs at Timesheets → Import Logs
Technical Details
- Module Name: erpl_import_emp_timesheet
- Dependencies: base, hr_timesheet, project
- License: LGPL-3
- Category: Human Resources/Timesheet
Requirements
For Excel file support, you need to install the xlrd library:
pip install xlrd
Support
For support, feature requests, or bug reports, please visit our website:
Website: https://www.erplabz.com
Author Information
Author: ERP Labz
Company: ERP Labz
Maintainer: ERP Labz
Website: https://www.erplabz.com
Contact Us
For support, questions, or feature requests, please contact us at sales.erplabz@gmail.com
Visit our website: erplabz.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module