How do I run and debug Odoo using PyCharm on Ubuntu?

Hello,

Question:
How to Run or Debug odoo 8/9/10 using pycharm editor.

+3


source to share


2 answers


I found a solution to my question.

Decision

Step 1:
1
- First add a new project. i ode 10.
2
- After adding new folder to odoo 10. ie conf - After adding new .conf file to conf folder. ie odoo_v10_base.conf - odoo_v10_base.conf this file writes the configuration for odoo10. On the right side, enter the code.
3
- the odoo-bin file is the default file 10.
4
- Click the "Change configuration" button to open a pop-up window.
enter image description here

Step 2:
1
- Click on the plus sign.
enter image description here



Step 3:
1
- Now click on Python from the dropdown.
enter image description here

Step 4:
1. Name: write any name ie odoo_v10
2. Script: specify the path to the odoo-bin file. (path: odoo10 -> odoo-bin)
3. Script Parameter: first write -c and after getting the full path of the conf file.
  ie -c / home / vmr / workspase / odoo_v10 / conf / odoo_v10_base.conf
4. Click the Apply button.
5. And after clicking ok.
enter image description here

Step 5:
1. Press the start button.
2. Open this section below to show run odoo10.
3. odoo10 run this url as 0.0.0.0:8078 and write this url in the browser to open odoo10.
enter image description here

+2


source


You can do this using the following method.

Step 1: Press the Shift key twice .

When you press the Shift key twice, a popup will open.

enter image description here

Step 2. In the drop-down list of key cards and select a card option.

enter image description here



Step 3. Choosing the environment.

After selecting the key-map, a new popup window will open from which you can select any environment.

enter image description here

You can choose Environment Ex: Eclipse, then you can debug and run the same as eclipse.

This might help you.

0


source







All Articles