# Synchronization between Joplin server and the ERP Odoo (Python)

**URL:** <https://discourse.joplinapp.org/t/synchronization-between-joplin-server-and-the-erp-odoo-python/34427>\
**Category:** Support\
**Created:** [16 December 2023 09:19 UTC](https://discourse.joplinapp.org/t/synchronization-between-joplin-server-and-the-erp-odoo-python/34427 "2023-12-16T09:19:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ygol](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ygol/32/17219_2.png) [@ygol](https://discourse.joplinapp.org/u/ygol)\
**Post date:** [16 December 2023 09:19 UTC](https://discourse.joplinapp.org/t/synchronization-between-joplin-server-and-the-erp-odoo-python/34427/1 "2023-12-16T09:19:45Z")

</div>

### Operating system

Linux

### Joplin version

2.13.9

### Sync target

Joplin Server

### Editor

Markdown Editor

### What issue do you have?

Hi,  
Goal: I would like to have a two-way synchronization between Joplin server and the ERP Odoo ([https://odoo.com](https://odoo.com)) which use python.

How may I code a "client" in python that will synchronize all the data with my custom Joplin server the same as other existing client (windows desktop, ios, mobile, etc).?

Is there some example that could help?  
Thank you

---

<div class="post-metadata">

**Author:** ![Marph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/marph/32/10800_2.png) [@Marph](https://discourse.joplinapp.org/u/Marph)\
**Post date:** [16 December 2023 09:52 UTC](https://discourse.joplinapp.org/t/synchronization-between-joplin-server-and-the-erp-odoo-python/34427/2 "2023-12-16T09:52:30Z")

</div>

Joplin has a [data API](https://joplinapp.org/help/api/references/rest_api/) that is suited to fetch and create notes. If you want to use python, there is a [wrapper](https://github.com/marph91/joppy) with some examples.

Not sure how the interface of Odoo looks, but probably there could be a glue script to do the synchronization between Joplin and Odoo.

Limitations:

- **The data API works only for desktop clients**. AFAIK the server can't be accessed with an API. See [Does Joplin Server have the API - #9 by zblesk](https://discourse.joplinapp.org/t/does-joplin-server-have-the-api/19374/9).
- It won't be "the same" synchronization as Joplin uses internally, since you would have to implement the logic in the script.

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [16 December 2023 21:37 UTC](https://discourse.joplinapp.org/t/synchronization-between-joplin-server-and-the-erp-odoo-python/34427/3 "2023-12-16T21:37:01Z")

</div>

> [@Marph](#):
>
> AFAIK the server can't be accessed with an API

It certainly can be accessed, it's just that the API isn't documented. You need to either read the code or look at the network traffic between Joplin Server and the app to reverse engineer it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [15 January 2024 21:37 UTC](https://discourse.joplinapp.org/t/synchronization-between-joplin-server-and-the-erp-odoo-python/34427/4 "2024-01-15T21:37:17Z")

</div>

Closed on 15 January 2024 21:37 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
