Odoo

"Odoo12 Base External DBsource"

Posted by Stephen on December 14, 2020

前言

odoo12 访问MySQL第三发数据源

环境

系统环境

Distributor ID:	Deepin
Description:	Deepin 20 Beta
Release:	20 Beta
Codename:	n/a
Linux version :     5.3.0-3-amd64 (debian-kernel@lists.debian.org)
Gcc version:        8.3.0 (Debian 8.3.0-6)
Debian Version     10.4

软件信息

version : 	
     Odoo Server 12.0-20201123

正文

  1. 安装系统依赖包
yum install gcc mariadb-devel
  1. 安装需要的python依赖包
    pip install sqlalchemy
    pip install pymysql
    pip install mysqlclient
    
  2. 下载官网app的base_external_dbsource和base_external_dbsource_sql并放在addons文件夹下,更新。

  3. 安装

    Image text

  4. 配置 Go to Settings > Technical > Database Structure > Database Sources Click on Create to enter the following information: Data source name Password Connector: Choose the database to which you want to connect Connection string: Specify how to connect to database

后记

None