Mayur Vora
Mayur Vora

Reputation: 962

How to Run and Debug Odoo using PyCharm in Ubuntu?

Hello,

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

Upvotes: 5

Views: 6926

Answers (2)

Mayur Vora
Mayur Vora

Reputation: 962

I found the solution of my question..

Solution

Step 1 :
1
- First add the new project. i.e odoo 10.
2
- After add new folder in odoo 10. i.e conf - After add the new .conf file in conf folder. i.e odoo_v10_base.conf - odoo_v10_base.conf this file write configration for odoo10. i.e Right section give code.
3
- odoo-bin file is odoo 10 default file.
4
- Click on this Edit configration button to open pop-up.
enter image description here

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

Step 3 :
1
- Now click on to Python from drop-down.
enter image description here

Step 4 :
1. Name : write any name i.e odoo_v10
2. Script : Give the path of odoo-bin file. (path : odoo10-->odoo-bin)
3. Script Parameter : First write -c and after give the full path of conf file.
i.e -c /home/vmr/workspase/odoo_v10/conf/odoo_v10_base.conf
4. Click on apply button.
5. And after click on ok button.
enter image description here

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

Upvotes: 7

You can do it using following method.

Step 1 : Double click Shift key.

When you click Shift key two times, open pop-up will open.

enter image description here

Step 2 : In pop-up type key-map & select key-map option.

enter image description here

Step 3: Select Environment.

After selection key-map new pop-up will open, from that you can select any environment.

enter image description here

You can select Environment Ex: Eclipse, after that you can debug & run same as eclipse.

This may help you.

Upvotes: -3

Related Questions