Hello, I would like to know what's the correct way to trigger on Odoo.sh the installation of the requirements for a submodule. For example, if I have the following repository structure:
repository
├── my_module
│ ├── ...
│ └── requirements.txt
└── third_party_submodule @ a6e6cd9
├── ...
└── requirements.txt
According to the documentation, for the case of my_module, adding a python dependency requires a module version increase for the platform to install it, but, what happens with third_party_submodule If I can't increase the module version? How I can indicate that the external python libraries from third_party_submodule should be also installed.
A possible solution could be to add the requirements of third_party_submodule to my_module and then increase the module version of the latter, but I think that this is the easy way and also a wrong approach.
Thanks & Regards
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
1
Vastaa
3539
Näkymät
Hello! I answer myself, according to the documentation:
The requirements.txt files of submodules are taken into account as well. The platform looks for requirements.txt files in each folder containing Odoo modules.
The problem I had was that the requirements file of the submodule I was using was incorrectly named (requeriment.txt instead of requirements.txt).
Regards
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
lokak. 22
|
6932 | ||
|
1
heinäk. 25
|
1931 | ||
|
4
huhtik. 25
|
12365 | ||
|
1
helmik. 25
|
3716 | ||
|
2
tammik. 25
|
6841 |