跳至內容
選單
此問題已被標幟
1 回覆
1916 瀏覽次數

Dear All,
​I hope this message finds you well. I've recently forked the Odoo repository from GitHub and have been using it for my development work. I've noticed that the original Odoo repository on GitHub receives updates regularly. In this regard, I'm seeking guidance on the best approach to manage these updates. Should I update each respective module separately, or is there a recommended way to update the base module once to incorporate all the changes? Your insights and advice on how to address this situation would be greatly appreciated.

頭像
捨棄
作者

Hi Niyas Raphy,
​Thank you for your kindly reply. As you mentioned in above answer, All I have to do it update my forked repository and restart my odoo service?

hi,
update your fork, pull the source code to your instance, restart the service,
thanks

最佳答案

Hi,

You should NOT update each module separately, update the repo as a whole.

You don't need to update the base module to incorporate changes, as no XML changes are allowed except between major versions.

If you are not directly changing anything inside the forked repository, you can sync the forked repository from the github user interface or from the command.




* Click Sync fork
* Update branch

How To Update Odoo Instance With Latest Code

Thanks

頭像
捨棄

Hi Niyas Raphy,
​Thank you for your kindly reply. As you mentioned in above answer, All I have to do it update my forked repository and restart my odoo service?

hi,
update your fork, pull the source code to your instance, restart the service,
thanks

Thank you for your prompt reply, Can I use that forked repo at my reproduction server to get the daily updates ? Any suggestions ?

may i know why you are using forked repo, instead of using odoo repo directly ?

Sorry for confusion, Can I pull from Odoo repo Directly to get daily update at my production server? Any Suggestions?

yes, if your odoo source code is with git, you can do a git pull to get the updates

see: https://www.youtube.com/watch?v=6wo4Hr889PE

相關帖文 回覆 瀏覽次數 活動
1
5月 25
2450
1
4月 25
3470
1
4月 25
4298
1
4月 25
1779
4
3月 25
6887