コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    製品デモを利用する
  • 料金
  • ヘルプ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

How to configure PyCharm for Odoo development in Windows.

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
developmentdevelopperguideodooodoo8Pycharm4
2 返信
104212 ビュー
アバター
Ibrar Ahmad

I want to configure pycharm in windows so that i could be able to create mudules from scaffold automatically. Then i can code it. Test it. and then run it automatically using run button.

2
アバター
破棄
Sehrish

Reference: http://learnopenerp.blogspot.com/2019/10/configure-pycharm-with-odoo.html

Harsh Dhaduk

Auto configure Odoo on Pycharm : https://www.youtube.com/playlist?list=PLAR8TpPnVeTS7nnZLqI1o2HctgNjmX4VF

Ibrar Ahmad
著作者

Thaaaank you sooooooooooooo much bro. i am going to try it.

Cybrosys Techno Solutions Pvt.Ltd

Hi,

Try this blog.

https://www.cybrosys.com/blog/configure-pycharm-odoo-development-windows

Hope it helps

アバター
Dhinesh
最善の回答

Openerp in pycharm:

Create a new project:

File -> New project:

Location: -- Give your location (Similar to eclipse workspace)

Interpreter: python2.7

Adding source content in the new project:

File -> Settings;

In Project:{project_name} tab -> Project structure:

Add content root -> Select your different source folders.

In Appearance & Behaviour:

Keymap: Select Eclipse to get the same shortcut functionality as eclipse.

In Editor -> General -> Appearance: Enable show line numbers for debugging purpose.

Click Apply & Ok.

To create run configuration:

Run --> Edit Configurations, click "+" on the top left to create a new configuration with the following settings:

Name: openerp

Single instance checkbox: checked

Script: /opt/openerp/odoo.py

Script parameters: --config=/openerp-server.conf

Python interpreter: Python 2.7.6 (usr/bin/python2.7)

Working directory: /opt/openerp/pycharm/

To Add VCS integrations:

VCS -> Enable version control integration -> Select Subversion for openerp and Git for odoo incase you're working in git.

You can perform all RabbitVCS operations in pycharm itself.

Add external package:

External Libraries will be automatically loaded when you define interpreter. Incase you need to add extra library means,

Select Project -> File -> Settings -> Project:{project_name} tab -> Project Interpreter -> click "+" on the top left to add new packages.

Customizing Toolbar:

Enable toolbar from View -> Toolbar.

Right click toolbar -> Customize menu and toolbar -> Expand Main Toolbar.

Click any toolbar -> Add after -> Select any menu that needs to be appear in the toolbar.

You can use odoo or openerp, whatever you wish. This is the template i have been using for a while in linux. You could easily change it to windows. Only the source location gonna change.

Scaffold:

To perform scaffold operation pycharm has inbuilt terminal facility. you could go to odoo directory and issue the scaffold command to get it working. I hope you know the command for scaffolding.

Templates:

Usage video link: https://goo.gl/FXpspb

Github source link: https://github.com/mohamedmagdy/odoo-pycharm-templates (find the xml in attachments)

Just find the path: ~/.PyCharm40*/config/templates (in /home/harmony) and save the XML file there.

Invalidate cache and restart pycharm to make it work.

6
アバター
破棄
Avini Wanigasinghe

I followed these steps. But still I cann't import modules from openerp. any help please

アバター
นายมนต์ชัย พงศ์พฤฒฺิพันธ์
最善の回答

I have tried this and there were many obstacles about Python and Windows API. The following are my problem and resolution.

1. You might know that PyCharm automatically run this statement for you.

    pip install -r requirements.txt   

  result:

     missing vcvarsall.bat for making gevent, psycopg2

  To solve this, download and install Microsoft Visual C++ Compiler for Python 2.7 at

https://www.microsoft.com/en-us/download/details.aspx?id=44266

  run this again

pip install -r requirements.txt

  someone recomment to run (I didn't know the reason behind, but I did it)

pip install --upgrade setuptools

2. Make sure you've already installed Postgresql and set your Odoo config file connect to the DB. For example, here is a part of my config file.

    db_host = localhost

    db_maxconn = 64

    db_name = False

    db_password = openpgpwd

    db_port = 5432

    db_template = template1

    db_user = openpg

    pg_path = C:\Program Files (x86)\Odoo 9.0-20160803\PostgreSQL\bin

3. Try to run your Odoo.py on PyCharm. If you encounter psyconpg2 error, try to reinstall it.

    pip uninstall psyconpg2

    pip install psyconpg2

4. The next problem you may have found is about pywin32. Just download and install Python for Windows Extensions at

    https://sourceforge.net/projects/pywin32/

5. Now your odoo.py should be able to run. Optional, if you want to set PyCharm (live)template as mentioned on the first answer. On Windows, the path to put Odoo.xml (template file) is a bit different.
    <your home directory>\.<product name><version number>\config\templates

for example

    C:\Users\John\.PyCharm2016.2\config\templates

if "templates" folder doesn't exist, create one.


My Environment
    OS:           Windows 10 Home 64bit  
    Python:   2.7.12 [MSC v.1500 32 bit (Intel)] on win32 run on 32bit
    Editor:     PyCharm Community Edition 2016.2.2

     Odoo:     9.0 Communication Source from GitHub
0
アバター
破棄
ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
Where to put odoo-pycharm-template file in windows installation of pycharm.
development template odoo odooV8 Pycharm4
アバター
アバター
アバター
アバター
3
5月 17
10700
Blank Page After Logged in. 解決済
development odoo
アバター
アバター
アバター
2
9月 25
4245
Developing Custom Models
development developperguide
アバター
アバター
アバター
2
9月 25
1155
Odoo Server Error after adding depends in manifest.py 解決済
development odoo
アバター
アバター
アバター
2
11月 24
4235
Which is better for Odoo development VsCode or PyCharm? 解決済
development odoo
アバター
アバター
1
9月 23
6060
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now