2017-06-05 65 views
2

我需要關於odoo的幫助。 如何運行兩個不同版本的odoo使用eclipse同時運行。 這兩個odoo版本在不同的端口上工作。如何使用eclipse同時運行odoo的兩個版本?

+1

好問題,我有odoo 9和eclipse端口8069,我想在我的Ubuntu上添加odoo 10版本。 –

+0

添加odoo 9與添加odoo 10相同,並且創建兩者都具有用於運行程序的單獨配置文件,並且兩者都用於獲取不同的端口號,因爲您同時在瀏覽器上同時運行odoo版本。 –

回答

2

odoo_server.conf文件中的以下兩個項目創建配置文件。使用不同的端口號。

[options] 
; This is the password that allows database operations: 
; admin_passwd = admin 
db_host = localhost 
db_port = 5433 
db_user = openerp 
db_password = openerp 
addons_path = F:\Francis\Workspace\studica\addons 
xmlrpc_port=7070 
pg_path = E:\santhosh\upsynth_Postgres\bin 

然後在Eclipse中創建運行配置這兩個項目 enter image description here

然後在參數標籤添加配置文件路徑爲這兩個項目。 enter image description here

現在您將能夠同時運行2個不同源代碼的項目。

你可以看到日誌的都喜歡以下

enter image description here

Windows和Linux版本的Eclipse都相同程序

相關問題