Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
21220 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää

It worked perfectly for Odoo Sh, Thank you Ray

Paras vastaus

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
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
7
heinäk. 25
51272
0
jouluk. 24
1763
ODOO.sh Ratkaistu
2
lokak. 24
13654
1
syysk. 24
2267
1
toukok. 24
3977