Skip to Content
Menu
This question has been flagged
1 Atsakyti
845 Rodiniai

Hello dears,

I've enabled LDAP integration and the employee is logged in to the system through username and password. Most Employee information needs to be mapped with an organizational structure that is defined in an active directory with a related list of employees which shows their department and all available hierarchy. So, when there is any update in the system related to employee information that also needs to be updated in the active directory. So how can I sync or reflect employee information that has been updated in the system into the active directory? I would appreciate your help and also any materials that could help.

Portretas
Atmesti

Any Update on this?

Best Answer

To sync employee information between Odoo and Active Directory (AD), here’s a simple approach:

1. LDAP Integration in Odoo:

  • Ensure LDAP authentication is enabled in Odoo to sync basic employee login details.

2. Create a Custom Sync Module:

  • Build a custom Odoo module that pushes employee data updates to Active Directory when changes are made in Odoo.
  • Use LDAP or Microsoft Graph API to update AD.

3. Scheduled Sync:

  • If real-time updates are not needed, you can create a cron job (scheduled task) in Odoo to periodically sync the employee data with AD.

4. PowerShell or Middleware (Optional):

  • You can also use PowerShell scripts to update AD or use tools like Zapier for syncing.

Portretas
Atmesti