Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
19135 Vues

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
Ignorer
Meilleure réponse

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
Ignorer

It worked perfectly for Odoo Sh, Thank you Ray

Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
0
déc. 24
692
ODOO.sh Résolu
2
oct. 24
12137
1
sept. 24
1101
8
août 24
49219
1
mai 24
2997