Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo9 comunity edition update from github?

Subscribe

Get notified when there's activity on this post

This question has been flagged
communityupdatebugfixgithubodoo9
4 Replies
5804 Views
Avatar
Arun

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"

2
Avatar
Discard
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Best Answer

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

3
Avatar
Discard
Arun
Author

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 ?

Yenthe Van Ginneken (Mainframe Monkey)

@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.

Arun
Author

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

Yenthe Van Ginneken (Mainframe Monkey)

@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?

Arun
Author

@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...

Yenthe Van Ginneken (Mainframe Monkey)

@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!

Arun
Author

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

Yenthe Van Ginneken (Mainframe Monkey)

@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)

Arun
Author

@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 :-(

Arun
Author

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

Yenthe Van Ginneken (Mainframe Monkey)

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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to update list modules in Odoo9? Solved
update odoo9
Avatar
Avatar
2
Dec 15
3620
Odoo Community 9. How do I customize the Invoice numbers
community customize odoo9
Avatar
Avatar
Avatar
Avatar
Avatar
6
May 20
8998
Point of Sale Installation Error
community ubuntu odoo9
Avatar
Avatar
3
Apr 17
6155
odoo9 community , installed module from appstore, where to find it? Solved
community addons odoo9
Avatar
Avatar
1
Sep 16
4136
im_livechat activation on odoo9
community livechat odoo9
Avatar
0
Jul 16
4290
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now