Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9051 Visualizzazioni

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
Abbandona

if you found any solutions then please comment below .

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
ago 20
9052
2
dic 17
9704
0
ott 20
5997
6
set 20
4849
3
mar 18
15409