I created a new employee given him some tasks but he cannot enter his time. The message received is 'Timesheets must be created with an active employee in the selected companies'... well the employee is active... I have no clue.
Cette question a été signalée
2
Réponses
9721
Vues
Hi,
The error "Timesheets must be created with an active employee in the selected companies" typically indicates a configuration issue beyond just the employee record being active. To resolve this, first, ensure the employee is properly linked to an Odoo user account, as timesheets are logged by users. Second, verify that the linked user account has the necessary timesheet access rights, usually found under "Human Resources" or "Timesheets" in their user settings. Finally, and critically, confirm that the employee's assigned company matches the company selected by the user when attempting to log timesheets, especially in multi-company environments, as a company mismatch is a common cause for this specific error message.
Hope it helps.
The error "Timesheets must be created with an active employee in the selected companies" means Odoo failed to match the user_id or employee_id provided in the timesheet record with an active employee in one of the selected companies.
Make sure the employee is an active record (not archived) link to the correct user (not archived ) and company is set correctly on both user and employee records.
Hope it helps.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire