Lark / Feishu Integration

Current versions: 16.0.1.0+, 17.0.1.1+, 18.0.1.0+, 19.0.1.0+.

Feishu is one of the major enterprise IM tools in China, and its overseas version Lark is growing quickly in Japan, Singapore, India, and gradually in Europe. Compared with some other IM tools, Lark's multi-dimensional tables are also a strong differentiator.

This chapter explains how to integrate Odoo with Feishu / Lark.

Lark-Side Setup

Create A Lark Application

To connect Odoo with Lark, create an application in the Lark developer center and obtain the App ID and App Secret.

Create Lark application

Parameter Meaning
App ID Lark application ID.
App Secret Lark application secret.

After obtaining these parameters, create the corresponding application in Odoo.

Odoo-Side Setup

Install The Module

Install the Feishu / Lark integration module developed by Qingdao Ohm Network Technology.

Install Lark module

Set User Permissions

After installation, grant Lark permissions to the users who will manage the integration.

Lark user permission

Basic Configuration

Return to the Odoo main interface and click the Feishu / Lark icon.

Open Lark app in Odoo

Enter the App ID and App Secret obtained from the Lark open platform.

Lark application settings

Bind Company

After creating the application, bind it to the company that will use it.

Bind Lark app to company

The basic configuration is complete. Click the test connection button to verify the configuration.

Test Lark connection

If the configuration is correct, Odoo shows a connection success message in the upper right corner.

Usage

Basic Data Synchronization

  1. Synchronize department data from the settings menu.

    Synchronize departments

  2. Open a synchronized department and click the button to synchronize employees.

    Synchronize employees

After these steps, base data synchronization is complete.

QR Code Login

Odoo supports Lark QR code login. First, add web application capability to the Lark application in the open platform.

  1. Add Web App capability and configure the web URL.

    Lark web app capability

    Set the Redirect URL to:

     your_odoo_url/mommy_lark/authorize
    

    your_odoo_url refers to the value of the web.base.url system parameter.

  2. In Development Configuration > Permission Management, grant the contact:contact permission.

    Lark contact permission

  3. In Odoo developer mode, go to Users & Companies > OAuth Providers and activate Lark login.

    Activate Lark OAuth

Users can then log in to Odoo with Lark QR code login.

Lark login page

Lark authorization page

After authorization, the system redirects the user to the bound Odoo account.

Chatter Messages

Lark also supports Odoo chatter message synchronization.

First, enable the setting for users who should receive chatter messages in Lark.

Enable Lark chatter notification

Then send a text message in the chatter of a document followed by that user.

Send Odoo chatter message

The user receives the message in Lark.

Lark message received

This chapter introduced Lark integration for base data, QR login, and chatter notifications.

results matching ""

    No results matching ""