5sControl / 5sControl/odoo_apps

Import Users data from Manifest to Odoo

オープン
#15 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

**Main entities:**

- Odoo module
- API on Digital Ocean
- Manifest

**Task:**
Organize the import of users from Manifest to Odoo via API.

**Data Flow:**
Manifest → API (Digital Ocean) → Odoo

Image

**UserImportService**

- _UserManifestClient_ - to work with the Manifest API.
- _UserMapper_ - to convert data from Manifest to Odoo format.
- _UserOdooService_ - for sending data to Odoo.

**AuthService**

- _Manifest (JWT) Auth_ - API is authorized to Manifest via JWT
- _Auth (token)_ - Odoo API authorization (The API is closed and protected - it does not give data to anyone.
In order for Odoo to send an API request, it must prove that it is a trusted client. For this purpose, Odoo stores the API Token (Bearer Token))

**Odoo API Manifest Interface**

1. **Odoo sends request to API -> get users**
Odoo runs a CRON job (every **N** minutes or manually). CRON-a task - send request to API (**FOR NOW USED A MANUAL METHOD!**)
2. **API is authorized to Manifest via JWT**
3. **API retrieves user data from Manifest**
4. **API mapped data**
5. **API sends data back to Odoo**
6. **In Odoo, data is written to the model**

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The issue describes a data pipeline from Manifest to Odoo. Start by examining the existing Odoo module structure and locating any CRON job setup. Look for API client code for Manifest (JWT auth) and Odoo (token auth). The UserImportService with its three components (UserManifestClient, UserMapper, UserOdooService) needs to be implemented. Check for existing model definitions in Odoo to understand the target data format. 'Done' means users are successfully imported via the API on a schedule.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api, backend, data-engineering
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。