Odoo Help


1 答案

Yenthe Van Ginneken 比利时

--Yenthe Van Ginneken--
| 9 9 12
Turnhout, 比利时
--Yenthe Van Ginneken--

My Odoo training platform: https://www.oocademy.com
My Odoo blog: http://www.odoo.yenthevg.com/
My Twitter: https://twitter.com/Yenthe666

Yenthe Van Ginneken 比利时
2018/5/31 上午10:07

Hi Wizardz,

You can't do this on Odoo.sh as far as I'm aware (atleast not at the moment).

You should update the submodule from the command line and commit this to Github. The moment your commit is made to Github it will be automatically detected by Odoo.sh. Odoo.sh will then pick up the commit and load it on your database. You can update the submodule by the command with a git submodule update:

git submodule update --remote

Then commit the update so it gets updated on Github. For example:

git add -A && git commit -m "[UPD] submodule: update submodule to latest remote rev"

Odoo.sh will handle the rest out of the box for you.



2 注释
wizardz 瑞士
2018/6/1 上午2:58

the problem is, that everytime I try to update the submodules, I get this:

Cloning into 'C:/devtest/OCA/l10n-switzerland'...

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

fatal: clone of 'git@github.com:OCA/l10n-switzerland.git' into submodule path 'C:/devtest/OCA/l10n-switzerland' failed

Failed to clone 'OCA/l10n-switzerland'. Retry scheduled

Cloning into 'C:/devtest/OCA/l10n-switzerland'...

Permission denied (publickey).

fatal: Could not read from remote repository.

I have set the publickey and everything...

Yenthe Van Ginneken 比利时
2018/6/1 上午5:55

That means you haven't properly configured your (private) submodules for Odoo.sh. Have a look at my tutorial at https://www.odoo.yenthevg.com/configuring-submodules-odoo-sh/

Keep Informed
1 关注者(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now