Skip to Content
Menu
This question has been flagged
1 Reply
938 Views

I recently bought a third party app on apps.odoo.com (Payment Conekta). Its installation requires an external library but I am not sure how to install it. I am currently using Odoo v 13.0 and hosted in Odoo SH. Should I install this external library directly in the Github repository? 

I was given the following command but I don't know were to run it. "pip install conekta==2.2.1"

Any help would be appreciated. Thanks.

Avatar
Discard
Best Answer

Hi,

For installing packages, add a requirements.txt file in your repository and specify the package in it.


FROM Odoo Doc:

"Python dependencies:
You can define requirements.txt files in your branch holding the python dependencies your project relies on. These requirements files can be placed in the root of the folders containing your addons. The platform will then install the dependencies for each build."


Thanks

Avatar
Discard
Author

Thanks for your response Niyas. I still have some doubts, the requirements.txt file should only contain "conekta==2.2.1"?

And then proceed to add this .txt file in my production branch of my Github repository?

Sorry for the inconvenience, I am not familiarized with external libraries. Regards.