中国本土应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
billyang 80da7db91b mis_financial_report_china 14.0 & 15.0 (#11) 1 year ago
doc [ADD]添加文档DOC 1 year ago
l10n_cn fix account type 1 year ago
mis_builder mis_financial_report_china 14.0 & 15.0 (#11) 1 year ago
muk_web_theme 增加骚绿MUK主题 (#9) 1 year ago
oec_base [FIX]oce_theme_backend → oec_theme_backend 1 year ago
oec_im_wecom_api [ADD]添加素材模块 1 year ago
oec_im_wecom_base [ADD]添加企微通讯录同步模块 1 year ago
oec_im_wecom_contacts [ADD]添加素材模块 1 year ago
oec_im_wecom_contacts_sync [ADD]添加素材模块 1 year ago
oec_im_wecom_material [FIX]oce_theme_backend → oec_theme_backend 1 year ago
oec_im_wecom_widget [ADD]添加企微通讯录同步模块 1 year ago
oec_l10n [FIX]oce_theme_backend → oec_theme_backend 1 year ago
oec_theme_backend [FIX]oce_theme_backend → oec_theme_backend 1 year ago
oec_widget 修改模块名称 1 year ago
.gitignore 提交OEC基础代码 1 year ago
LICENSE AGPL-3 1 year ago
README.md move guidelines to wiki (#4) 1 year ago
requirements.txt 提交OEC基础代码 1 year ago

README.md

LOGO

Open Erp China - 一个基于odoo扩展的中国本土化ERP项目

Open Erp China 介绍

  1. 本项目是由 上海开源信息技术协会 发起的基于Odoo扩展的中国本土化ERP项目,汇集各Odoo资深从业人员的本土化开源Odoo模块。
  2. 本项目简称 OEC

Open Erp China 目标

  1. 为中国企业提供基于Odoo的一套完整的ERP本土化解决方案。
  2. 开发者可以在此项目开源自己的基础模块。开发者的专业收费模块可以通过widget引流到自己的项目中,从而获得收益。

规则

提交前,请知晓 OEC 项目吸纳社区模块的规则

仓库

osbzr

文档

docs

开发者安装教程

  1. 创建 16.0 版本的根路径
  2. 在根路径 git clone odoo 源代码
   git clone https://github.com/odoo/odoo.git --depth 1 --branch 16.0 --single-branch src
  1. 在根路径 git clone OEC 源代码
   git clone http://osbzr.com/odoochina/china_addons.git --depth 1 --branch 16.0 --single-branch oec
  1. 安装 Odoo 需要的依赖
   cd src
   pip install -r requirements.txt -i https://pypi.doubanio.com/simple
  1. 安装 ChinaERP 需要的依赖
   cd oec
   pip install -r requirements.txt -i https://pypi.doubanio.com/simple
  1. src/debian/ 复制文件 odoo.conf 到根路径16.0下,修改内容为:
   [options]
   ; admin_passwd 是数据库管理密码
   admin_passwd = admin

   ; 数据库访问的相关参数
   db_host = localhost
   db_port = False
   db_user = odoo
   db_password = odoo
   db_maxconn = 1200

   ; addons_path 是模块路径
   addons_path = src/odoo/addons,src/addons,oec

   ; dbfilter 指定数据库
   dbfilter = oec

   ; 是否启用代理模式
   proxy_mode = True

   ; PG bin安装路径
   pg_path = C:\Program Files\PostgreSQL\14\bin

   data_dir = data_dir
   geoip_database = GeoIP\GeoLite2-City.mmdb
  1. Visual Studio Code 开发 Odoo 配置,参考链接
  2. PyCharm 开发 Odoo 配置,待补充

开发者如何引流

  1. 开发者可以在 视图 res_config_settings_view_form 中添加标签 <widget name="oec_pro_upgrade_boolean" /> 来引流到自己的项目中。

  2. 具体如下:

   <div class="col-12 col-lg-6 o_setting_box" id="rainbow_community_theme_install">
      <div class="o_setting_left_pane">
            <field name="module_rainbow_community_theme" widget="oec_pro_upgrade_boolean"/>
      </div>
      <div class="o_setting_right_pane" id="rainbow_community_theme_settings">
         <label for="module_rainbow_community_theme"/>
         <div class="text-muted">
            This module modifies the web addon to provide responsiveness.
         </div>
         <div class="content-group" attrs="{'invisible': [('module_rainbow_community_theme', '=', False)]}" id="rainbow_community_theme_warning">
            <div class="mt4 text-warning">
               <strong>Save</strong> this page and come back here to set up other feature.
            </div>
         </div>
      </div>
      </div>
   </div>
  1. 说明:
  • <widget name="oec_pro_upgrade_boolean" /> 中的 url 参数是指向开发者的项目地址,如果不填写则默认为 http://osbzr.com/odoochina/china_addons"
  • <widget name="oec_pro_upgrade_boolean" /> 中的 image 参数用于加载开发定义图片,如果不填写暂时默认为 /web/static/img/enterprise_upgrade.jpg
上海开阖软件有限公司 沪ICP备12045867号-1