تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
21173 أدوات العرض

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
يوليو 25
51231
0
ديسمبر 24
1738
ODOO.sh تم الحل
2
أكتوبر 24
13639
1
سبتمبر 24
2234
1
مايو 24
3952