Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
21204 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer

It worked perfectly for Odoo Sh, Thank you Ray

Beste antwoord

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

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

Gerelateerde posts Antwoorden Weergaven Activiteit
7
jul. 25
51263
0
dec. 24
1753
ODOO.sh Opgelost
2
okt. 24
13649
1
sep. 24
2255
1
mei 24
3974