Skip to Content
Menu
This question has been flagged
2 Replies
7848 Views

Hi Friends,

Is there any possibility to configure odoo 10 and odoo 11 enterprise versions with pycharm in ubuntu 16.04 and windows 10? we already configured odoo 10 community version with pycharm and it’s working properly. 
But we need to develop some custom ad-dons for enterprise core. that’s why we looking for the solution on that. Please let us know any possibilities regarding this.

Avatar
Discard

if you found any solutions then please comment below .

Best Answer

Hi,

To add odoo enterprise to Pycharm for Odoo 11 do the following.

1. Go to the Pycharm Preferences and select project structure from the left panel.

2. On the right panel, go to "Add Content Root" and here is where you basically add the folders where the source code is located. I typically have 3 folders there. One for the Odoo Community, another for Odoo Enterprise, and one more for my custom modules folder.

That is it. Keep in mind you always keep running Odoo Community "odoo-bin" executable to run the Server and you must add the Odoo Enterprise "addons" to the "odoo-bin" parameters along with your custom module path.

I run odoo-bin as follows:

$ ./odoo-bin --config=$O_CONFIG_HOME/odoo_config.conf

I use the following configuration file called "odoo_config.conf" where the environment variables point to the Odoo Community addons, Odoo enterprise addons and my custom modules addons folder.

[options]

addons_path=$OE_HOME/addons,$OC_HOME/addons,$OCM_HOME/odoo_custom_addons

database=odoo-dev-enterprise

Avatar
Discard
Related Posts Replies Views Activity
4
Aug 20
8122
2
Dec 17
8670
0
Oct 20
4560
6
Sep 20
3783
3
Mar 18
14238