Skip to Content
Menú
This question has been flagged
2 Respostes
19132 Vistes

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


Avatar
Descartar
Best Answer

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
Avatar
Descartar

It worked perfectly for Odoo Sh, Thank you Ray

Best Answer

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

   

Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
0
de des. 24
686
ODOO.sh Solved
2
d’oct. 24
12135
1
de set. 24
1092
8
d’ag. 24
49218
1
de maig 24
2994