콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
21206 화면

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

관련 게시물 답글 화면 활동
7
7월 25
51263
0
12월 24
1755
ODOO.sh 해결 완료
2
10월 24
13649
1
9월 24
2255
1
5월 24
3974