Odoo Help


Odoo9 comunity edition update from github?

on 3/22/16, 4:25 AM 1,226 views

Hi i recently had a bug in the community version of odoo9 which was installed from the official site of odoo.

there is a bug fix from the git hub, i do not know how to update odoo9 from it, kindly give me some guidelines as to how i can proceed on this.

Thanks a google in advance    "please help me out"



| 8 8 8

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 3/22/16, 5:38 AM

Hi Arun,

The easiest way is to update your whole Odoo environment at once. Open up a terminal and navigate to your Odoo server:

cd /odoo/odoo-server/

 Fetch the new code from Github, notice that 9.0 is for V9, 8.0 for V8 etc.

sudo git fetch origin 9.0

 Now apply these updates to your Odoo. Do notice that a git reset --hard will overwrite all files, so only use this is you didn't add code in default Odoo modules (which is against the rules anyways):

sudo git reset --hard origin/9.0

The new code has now been added to your Odoo, now restart your Odoo service and update all your modules to reload all the new code in your Odoo. Something along the lines of:

./odoo.py --xmlrpc-port=8080 -u all

You now have a fully updated Odoo.


Yenthe thank you so much for taking time and replying. do i have to install git for this, and would it be good to do so in the client environment? how is it for windows? anyidea ?

on 3/22/16, 7:37 AM

@Arun you're welcome, happy to help. I'm not sure about Windows, you should really consider installing your Odoo on an Ubuntu. A lot of the installations / implementations are done on Ubuntu and they behave a bit more stable on Ubuntu too. By default you can use the git commands on Linux.

on 3/22/16, 7:57 AM

@yenthe if thats the case i should be installing git in ubuntu?

on 3/22/16, 8:13 AM

@Arun just use my automatic Odoo installation script (found at https://github.com/Yenthe666/InstallScript) if you ever want to install an Odoo, everything is setup fine by itself then. You should have acces to git by default on Ubuntu too. On a sidenote: why the sudden removal of my accepted answer? I'm assuming you've accepted it initially?

on 3/22/16, 8:46 AM

@yenthe what ur suggesting me is with the repository it self but i want the update to happen with the officially installed file of odoo which happens to be from this url "https://www.odoo.com/documentation/9.0/setup/install.html" installing odoo from git will have access to git, agreed but the officially installed one does not have the access to the git... please help me out on this yenthe...

on 3/22/16, 9:02 AM

@Arun if I understand this correctly you have a Windows environment with the package installer? This will make things a lot more complicated since barely anybody uses this and there is no good information about this. Is that packaged installer an automatic windows install program? In this case what you could do is download the latest code from Github and replace the files wherever they are installed on your Windows with the newest files. I haven't done this myself yet, so try this on a demo environment for sure!

on 3/22/16, 9:08 AM

@yenthe there is no directory named odoo-server in the installed one

on 3/22/16, 9:09 AM

@Arun not when you install it on Windows with the package. It will be named a little different. You should be in this directory on your Windows: https://github.com/odoo/odoo (you should see the file odoo.py for example)

on 3/22/16, 10:24 AM

@yenthe with respect to the previous comment of yours, thats what i thought too, initially thought there might be a possibility to do an update from the patch made from git by converting it to some batch file etc... but i dont find any solution to it.... looks good to have an update than having to uninstall and reinstall the entire thing... i guess thats the only solution now :-(

on 3/22/16, 11:35 AM

i mean replace the files that are installed on windows with the newest files.....

on 3/22/16, 11:44 AM

I don't really think you can easily do git updates on Windows, especially not when you used that installer. I'm not very experience with the Windows setup, since Linux is much better and more used. I'd suggest you to move to Linux for future upgrading and development, it'll be less hassle.

on 3/23/16, 8:31 AM

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

Question tools

1 follower(s)


Asked: 3/22/16, 4:25 AM
Seen: 1226 times
Last updated: 3/22/16, 9:02 AM