Coder Social home page Coder Social logo

ods's Introduction

ods

odoo dock system

odoo开源ERP系统对接系统

author : niyoufa create date : 2016-05-10

  1. 系统架构 ods包括三个逻辑部分: ods.clients : 操作odoo数据对象模块和操作mongodb数据模块, ods.dj_server: 命令执行系统,基于django的BaseCommand , ods.tnd_server: API服务系统,给予tornado的后端服务接口,

  2. ods.clients

ods.clients.xmlrpc_client : 提供操作odoo数据对象的接口 ods.clients.mongodb_client : 提供操作mongodb数据对象接口

  1. ods.dhui

结合业务逻辑和ods.clients.xmlrpc_client , 进一步封装了提供操作odoo数据对象的接口

  1. ods.dj_server

使用方法 : 在 dj_server目录下执行:python manage.py 打印出 dhui命令列表 : [dhui] dhui_init_partner_info_command : 初始化供应商信息 dhui_init_product_data_command : 初始化商品信息 dhui_sale_order_command : 导入订单数据 init_schema : 初始化psql表格建表 partner_order_deliver_details : 生成发货信息明细

  1. ods.tnd_server

提供给客户端app数据接口

相关认证命令: sudo ssh [email protected] -i id_rsa su odoo -s /bin/bash nohup mongod -f /etc/local_mongdb.conf & mongo --host 120.26.226.63 --port 27018

ip : 120.26.226.63 账号密码 : root Dhui12345

SERVER_MONGODB_USER = "viewer" SERVER_MONGODB_PASS = "DhuiViewer2016"

查看日志 tail dj_server/logs/dhui_commands.log | grep 2016-06-07

ods's People

Contributors

hb4daemmon avatar niyoufa avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.