I am restoring a database with several addons installed. How I can install all external dependencies?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
Hi,
If you are talking about the external dependency from the custom modules, you can create a file named requirements.txt and add all the needed packages in it and finally run pip install -r requirements.txt to install the packages from it.
If you need to install one by one manually from the terminal/shell you can do it also.
Thanks
This is not suitable for your current scenario . But in future development you can follow like this .
The module won’t be installed if either the python module is not installed in the host machine or the binary executable is not found within the host machine’s PATH environment variable.
'external_dependencies': {
'python' : ['pyusb','pyserial','qrcode'],
},
You can add this in your manifest file
Please refer odoo's docs here
https://www.odoo.com/documentation/17.0/developer/reference/backend/module.html#:~:text=installed%20as%20well.-,external_dependencies,),-A%20dictionary%20containing
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati