Skip to Content
Menu
This question has been flagged
1 Reply
1915 Views

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.

Avatar
Discard
Author

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

Best Answer

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

Avatar
Discard

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

Related Posts Replies Views Activity
1
May 25
2450
1
Apr 25
3469
1
Apr 25
4298
1
Apr 25
1779
4
Mar 25
6885