Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
19427 Tampilan

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
Buang
Jawaban Terbai

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
Buang

It worked perfectly for Odoo Sh, Thank you Ray

Jawaban Terbai

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
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
0
Des 24
823
ODOO.sh Diselesaikan
2
Okt 24
12280
1
Sep 24
1259
8
Agu 24
49443
1
Mei 24
3193