Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Python 开发
  4. 使用pycharm搭建odoo14/13/12/11/10开发调试环境

使用pycharm搭建odoo14/13/12/11/10开发调试环境

Scheduled Pinned Locked Moved Python 开发
1 Posts 1 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    X
    xxbg
    wrote on last edited by
    #1

    使用pycharm搭建odoo14/13/12/11/10开发调试环境

    odoo14,odoo13, odoo12及以下版本适用。个人认为在windows平台下Pycharm 是最好的 odoo开发工具, 配置简单,操作简便,界面清爽,支持远程调试python,javascript调试,集成DJango等web框架,跨平台。 其IDE功能非常强大,同时有针对odoo的模板和插件,故在此向odoo初学者推荐 Pycharm。

    第一步:安装python环境

    如果是odoo10,请使用 python 2.7

    如果是odoo11,12请使用 python 3.5

    odoo13,14,请使用python 3.7

    到https://www.python.org/downloads/下载windows版本的python,选择版本,按提示安装,并将安装路径加入到系统变量中!

    第二步:安装pycharm

    去官方http://www.jetbrains.com/pycharm/download/下载pycharm社区版,按提示安装!

    第三步:安装odoo

    在本站下载绿色版odoo10或者odoo11的64位版,或者去官方http://nightly.odoo.com下载。

    https://www.sunpop.cn/odoo11_fast_x64_download/

    https://www.sunpop.cn/odoo10_fast_x64_download/

    第四步:安装pip工具,用来安装odoo开发所需的一些依赖库,或者使用pycharm的package安装功能

    pip的安装方法很多,这里不再啰嗦,可以参考:http://jingyan.baidu.com/article/e73e26c0d94e0524adb6a7ff.html

    第六步:配置pycharm如下图

    具体目录按实际情况填写,本文假设odoo的目录是 d:\odoo11-x64,其中数据库启动脚本配置为绿色版根目录中的 db.bat 文件即可

    配置完成!

    本文转载于https://www.sunpop.cn/odoo10_11_dev_with_pycharm_setup/

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Tags
    • Popular
    • Users
    • Groups