Step by step instructions to Update Odoo Files from Github!

Odoo ERP needn’t bother with a lot of introduction. The open-source ERP is known for its massive conceivable outcomes and extensivity in covering every business work. Both Odoo Enterprise and Community Edition come in its very own plenty of capacities meeting the various needs of organizations. Now you can easily update odoo from Github.

how to update odoo from github latest odoo blog 2020

The consistent act of spontaneity occurring in the application is the thing that makes odoo separate from other market players. The enormous network of odoo engineers continually contribute new advancements and ad-libs the application, making it progressively powerful and scalar. The ocean of modules just meets the complex needs of the business, regardless of which industry they have a place with. With the most recent variant, Odoo 13, the open-source ERP has indeed demonstrated its flexibility and versatility in meeting heterogeneous business prerequisites.

This blog causes thought of how you can update your odoo code from Github. For that, you can utilize basic directions in the terminal to refresh your neighborhood odoo establishment. This blog additionally in the interim discloses to you how to refresh your database for utilizing the new refreshed code of odoo.

So we should perceive how it is finished utilizing our terminal:

1. Explore to the right organizer:

So as to refresh your odoo code from GitHub utilizing the terminal, above all else, you need to explore to the right organizer in the terminal.

So, in the event that you are at the right organizer while utilizing the rundown order (ls) in the terminal, as appeared above, it will drill down the envelopes as above. It infers that you are explored to the right organizer.

In the wake of exploring to the right envelope, you need to get the substance from Github.

2. Getting the substance from Github:

Utilize the accompanying direction to get the substance from Github

sudo git fetch origin 12.0

What’s more, in the event that you are utilizing some other adaptations of odoo you need to utilize that specific form in the above code.

That is if there should arise an occurrence of odoo version 11 you need to utilize the direction as follows:

sudo git fetch origin 11.0

3. Apply all Changes:

So now you have brought everything and you have to apply every one of the changes.

What’s more, the framework realizes what the progressions should be made and for which records. You can do this by utilizing the git reset code underneath.

sudo git reset – hard origin/12.0

The code git reset – hard will make every one of the changes.

Assume you have included any custom code in your previously existing modules you ought not to utilize this. That is you ought not to utilize this in any of the custom modules that you have made.

Subsequent to utilizing this order to apply the progressions you can see an outcome like this as demonstrated as follows:

So now while opening the Github you can see the most recent change that has been made to odoo.

4. Refreshing the Database:

Presently you need to refresh your database with the goal that every one of the progressions that you have made to your odoo code will be reflected in your database. You can refresh your database in a few different ways. Perhaps the simplest ways are to restart your odoo administration utilizing the right parameters. Utilize the accompanying command for that:

sudo service odoo9-server restart -u all -d YourDatabaseName

For more Odoo Blogs Visit “ODOO ERP BLOGS

2020-02-28T13:30:16+00:00 February 28th, 2020|Odoo ERP Blog & News|0 Comments

About the Author: