Managing branches
In Odoo.sh, you can create multiple development and staging branches along with the production branch. In this recipe, we will create different types of branches and see the differences between them. You will see the full workflow of how you can develop, test, and deploy the new features.
Getting ready
Visit https://www.odoo.sh/project and open the project we created in the Creating an Odoo.sh account recipe. We will create a development branch for the new feature and then test it in the staging branch. Finally, we will merge the feature in the production branch.
How to do it...
In this recipe, we will create all types of branches in Odoo.sh. At the moment, we don't have any branches in production, so we will start by creating a production branch.
Creating the production branch
Right now, we only have one main
branch in the Development section. The last build of the main
branch shows a green label that reads Test: success
, meaning that all of...