Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
9035 Переглядів

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.

Аватар
Відмінити

if you found any solutions then please comment below .

Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
серп. 20
9050
2
груд. 17
9692
0
жовт. 20
5988
6
вер. 20
4834
3
бер. 18
15405