Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
19138 มุมมอง

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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
อวตาร
ละทิ้ง

It worked perfectly for Odoo Sh, Thank you Ray

คำตอบที่ดีที่สุด

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

   

อวตาร
ละทิ้ง
ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 24
696
ODOO.sh แก้ไขแล้ว
2
ต.ค. 24
12148
1
ก.ย. 24
1110
8
ส.ค. 24
49234
1
พ.ค. 24
3012