Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I went through the process of inputting attendance manually for an employee.
It takes a lot of time especially if you have lots of employees. Is there a way
to import csv files for attendance for employees to avoid manual input?
I can understand inputting timesheets for scheduling work but not attendance
if you want to avoid tampering.
It usually makes importing easier if you know the data structure. I always export data to CSV to see what kind of CSV import file should I create.
In this case, the data looks something like this (see better formatted version here):
id name action action_desc/id employee_id/id
hr_attendance.attendance20 2014-09-10 12:34:00 Sign Out hr.employee_fp
hr_attendance.attendance19 2014-09-10 07:10:00 Sign In hr.employee_fp
So, now you can create a CSV file with mandatory fields name, action and employee_id/id. The trickiest one will be employee_id/id because you have to find out each employee's employee ID. You can do this by exporting the Employee names into a CSV file (the ID will be added automatically) and using it as a source for the attendance CSV. It might be easiest to use Excel/LibreOffice Calc/Google Spreadsheets and the VLOOKUP spreadsheet function for this.
Now you should have a CSV file with fields name, action and employee_id/id ready to be imported. Just click the "import" link next to the "Create" button and validate & import.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/9/14, 11:06 PM|
|Seen: 2514 times|
|Last updated: 3/16/15, 8:10 AM|