Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
21179 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen

It worked perfectly for Odoo Sh, Thank you Ray

Beste Antwort

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
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
7
Juli 25
51234
0
Dez. 24
1739
ODOO.sh Gelöst
2
Okt. 24
13639
1
Sept. 24
2235
1
Mai 24
3952