コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
21324 ビュー

i want to install this library

sudo apt install python3-pyodbc


my requirements.txt file




this txt file is not working in odoo.sh build failed ... unable to install error


アバター
破棄
最善の回答

The location where Odoo looks for the requirements.txt file is documented at https://www.odoo.com/documentation/user/14.0/odoo_sh/getting_started/first_module.html#use-an-external-python-library


The file needs to be in the root folder of your repository.  

/home/odoo/src/user/requirements.txt
アバター
破棄

It worked perfectly for Odoo Sh, Thank you Ray

最善の回答

Hello Usman,

include below details to __manifest__.py and after committing it goto Apps with debug mode on -> update applist file and update the module.

'external_dependencies': {

    'python' : ['unixodbc','unixodbc-dev','pyodbc'],

},

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

アバター
破棄
著作者

its working perfectly fine in local and any vps server but not in odoo.sh

関連投稿 返信 ビュー 活動
7
7月 25
51344
0
12月 24
1796
ODOO.sh 解決済
2
10月 24
13695
1
9月 24
2318
1
5月 24
4022