| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 12167 |
| Technical Name |
app_sync_base |
| License | OPL-1 |
| Website | https://www.odooai.cn |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 12167 |
| Technical Name |
app_sync_base |
| License | OPL-1 |
| Website | https://www.odooai.cn |
| Versions | 18.0 19.0 |
API忥æ¥å¿æ¡æ¶ / Sync Base API Logger
ç»ä¸ç®¡çå¤é¨APIè°ç¨ä¸åè°æ¥å¿ï¼æ¯æèªå¨éè¯ãTokenå·æ°ãæ¥å¿ä¿ççç¥
Centralized API sync logging framework with auto-retry, token refresh and log retention policy.
ä¸è¡ä»£ç å³å¯å®æå¤é¨æ¥å£çåéãæ¥æ¶ä¸å
¨é¾è·¯æ¥å¿è¿½è¸ªã
åè½æ¦è¿° / Overview
æ¬æ¨¡å为 Odoo æä¾ç»ä¸ç API 忥æ¥å¿ç®¡çæ¡æ¶ãéè¿æå¡åâåºç¨âæ¥å£ç±»åçä¸çº§é ç½®ä½ç³»ï¼ å®ç°å¯¹å¤é¨ API è°ç¨çå ¨é¾è·¯æ¥å¿è®°å½ãèªå¨éè¯ãToken å·æ°ä¸è¿ææ¸ çã ä¸å¡æ¨¡ååªéä¸è¡ä»£ç å³å¯éæå®æ´ç HTTP 请æ±åéä¸åè°æ¥æ¶è½åã
This module provides a unified API sync logging framework for Odoo. With a 3-level hierarchy (Provider â App â Log Type), it enables full-chain request logging, auto-retry with token refresh, and configurable log retention. Business modules integrate with just one line of code via send_httprequest() / receive_httprequest().
æ ¸å¿äº®ç¹ / Key Highlights
API æ¥å¿ç®¡ççä¸ç«å¼è§£å³æ¹æ¡
1. ä¸çº§é ç½®ä½ç³» / 3-Level Hierarchy
Provider â App â Log Type
æå¡åãåºç¨ãæ¥å£ç±»åä¸çº§ç®¡çï¼URL æ£åå¹é èªå¨è¯å«æ¥å£ç±»åï¼æ¯æ HTTP æ¹æ³ãå å®¹æ ¼å¼ãéè¯æ¬¡æ°ä¸è¶ æ¶é ç½®ã
2. å忥å¿è®°å½ / Bidirectional Logging
Outbound & Inbound
宿´è®°å½å¤å请æ±ï¼æ¹æ³ãURLã请æ±å¤´ã请æ±ä½ãåæ°ï¼åååºæ°æ®ï¼ç¶æç ãååºå¤´ãååºä½ï¼ï¼åæ¶æ¯æå ¥ç« Webhook åè°çèªå¨æ¥æ¶ä¸æ¥å¿è®°å½ã
3. èªå¨éè¯ä¸Tokenå·æ° / Auto Retry
Token Refresh & Retry Logic
å¤å请æ±å¤±è´¥æ¶èªå¨å·æ° Token å¹¶æé 置次æ°éè¯ï¼ä½¿ç¨ Savepoint éç¦»æ¯æ¡è®°å½å¤çï¼é²æ¢å¹¶åå²çªï¼æ¯æ Token å¨ params/headers/URL ä¸çèªå¨æ´æ°ã
4. ä¸è¡ä»£ç éæ / One-line Integration
send_httprequest() / receive_httprequest()
ä¸å¡æ¨¡åéè¿ send_httprequest() åéè¯·æ±æ receive_httprequest() æ¥æ¶åè°ï¼èªå¨å建æ¥å¿è®°å½ãæ§è¡è¯·æ±ãéè¯åååºè®°å½ï¼è¿åæ å Response 对象ã
5. æ¥å¿ä¿çä¸èªå¨æ¸ ç / Log Retention
Configurable Retention & Auto Cleanup
ææ¥å£ç±»åé ç½®æ¥å¿ä¿ç天æ°ï¼å®æ¶ä»»å¡æ¹éå é¤è¿ææ¥å¿ï¼æ¯æè®¾ä¸º 0 è¡¨ç¤ºæ°¸ä¹ ä¿çï¼åæ¹å é¤é¿å å åæº¢åºã
6. ä¸å¡è®°å½å ³è / Record Association
res_model / res_id Auto-Link
éè¿ res_model/res_id èªå¨å ³è API æ¥å¿ä¸ä¸å¡è®°å½ï¼mixin.slog æ··å ¥æ¨¡å让任æä¸å¡å¯¹è±¡å¿«ééææ¥å¿æ¥çæé®ã
éç¨ç¹æ§ / General Features
å¤è¯è¨ä¸å¤å
¬å¸
Multi-Language & Multi-Company
宿´çå¤è¯è¨ç¿»è¯æ¯æï¼éé å ¨çåä¼ä¸é¨ç½²ãåçå¤å ¬å¸æ¶æï¼æ°æ®ä¸¥æ ¼é离ã
å
¨çæ¬å
¼å®¹
Full Version Support
æ¯æ Odoo 19,18,17,16,15,14,13,12ï¼EE/CE/.SHï¼å ¼å®¹ä¼ä¸çã社åºçåå¨çº¿ SaaSã
代ç å®å
¨å¼æº
Full Open Source
åºäº OPL-1 åè®®å¼æºï¼ä»£ç éæå¯å®¡è®¡ï¼æ¯æäºæ¬¡å¼åä¸å®å¶ã
ç颿ªå¾ / Screenshots
æ ¸å¿åè½çé¢ä¸è§
模å主çé¢ / Module Overview
ä½¿ç¨æµç¨ / How It Works
é ç½®æå¡å
Setup Providers
å®ä¹æ¥å£ç±»å
Define Log Types
ä¸è¡ä»£ç è°ç¨
One-line API Call
æ¥å¿çæ§åæ
Monitor & Analyze
æ¯æä¸ä¾èµæ¨¡å / Supported & Dependent Modules
- app_odoo_customize â Odoo ç³»ç»å®å¶å¢å¼º / Odoo System Customization
odooai.cn
ä¸ä¸Odooæå¡ä¼ä¼´-å¼å宿½å¨è¯¢å¹è®å ¨å¥è§£å³æ¹æ¡ / Professional Odoo Solutions
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module