When installing a 3rd Party Module, there is a step of steps you should follow from Odoo
You can find those steps here
https://www.odoo.sh/faq#how_to_submodules
This link says:
A git submodule allows you to integrate other Git projects into your code, without the need to copy-paste all the code (in short).
Required before starting: a Git repository containing some Odoo modules. It can be some apps from the Odoo Apps store or some community modules.
Private repositories
Github private repositories require a few more steps in order to configure properly your submodules. They ensure that Odoo.sh will be able to fetch your private code.
- Go to your Odoo.sh project Settings then look for the Submodules section.
- Paste the URL of your sub-repository (eg:
git@github.com:USERNAME/REPOSITORY.git) and click on Add. - Copy the Public key (it should look like
ssh-rsa some...random...characters...here...==). We currently supportssh-rsaandssh-ed25519keys. - Go to your sub-repository Settings page on Github then look for the Deploy keys tab.
- Click on Add deploy key and paste the public key into the Key field. You can add "Odoo.sh" as title and save.
- Now follow the steps described hereunder for the Public repositories.
Public repositories
Here are the steps to add your sub-repository as a submodule of your Odoo.sh project (you don't need to set up a deploy key for public repositories).
- Let your project "know" that you require a submodule:
git submodule add -b BRANCH git@github.com:USERNAME/REPOSITORY.git PATH. - Commit this change and push it:
git commit -a && git push -u origin master. - Wait while Odoo.sh builds your project... and it's done!
There is a good video online about how to do it.
https://youtu.be/vsqzfA3ERD8?t=1182
Please note that some users try just using the "Import" button to import the module, but this will not work.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article