Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
9039 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

if you found any solutions then please comment below .

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 8 20
9051
2
thg 12 17
9697
0
thg 10 20
5992
6
thg 9 20
4837
3
thg 3 18
15406