Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
9058 Zobrazení

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
Zrušit

if you found any solutions then please comment below .

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
srp 20
9056
2
pro 17
9712
0
říj 20
6008
6
zář 20
4857
3
bře 18
15413