Skip to content
Snippets Groups Projects
Commit 00c234bc authored by Antony Lesuisse's avatar Antony Lesuisse
Browse files

[FIX] odoo.py setup use 8.0 instead of master

parent 2e3ae753
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ a full-featured <a href="https://www.odoo.com">Open Source ERP</a> when you inst
Getting started with Odoo
-------------------------
For a standard installation please follow the <a href="https://www.odoo.com/documentation/8.0/setup.html">Setup instructions</a>
For a standard installation please follow the <a href="https://www.odoo.com/documentation/8.0/setup/install.html">Setup instructions</a>
from the documentation.
If you are a developer you may type the following command at your terminal:
......
......@@ -4,7 +4,7 @@
#
# To install your odoo development environement type:
#
# wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
# wget -O- https://raw.githubusercontent.com/odoo/odoo/8.0/odoo.py | python
#
# The setup_* subcommands used to boostrap odoo are defined here inline and may
# only depends on the python 2.7 stdlib
......@@ -12,8 +12,6 @@
# The rest of subcommands are defined in odoo/cli or in <module>/cli by
# subclassing the Command object
#
# https://raw.githubusercontent.com/odoo-dev/odoo/master-odoo-cmd-fme/odoo.py
#
#----------------------------------------------------------
import os
import re
......@@ -89,10 +87,10 @@ def cmd_setup_git():
run('git','config','remote.odoo-dev.url','https://github.com/odoo-dev/odoo.git')
run('git','config','remote.odoo-dev.pushurl','git@github.com:odoo-dev/odoo.git')
run('git','remote','update')
# setup master branch
run('git','config','branch.master.remote','odoo')
run('git','config','branch.master.merge','refs/heads/master')
run('git','checkout','master')
# setup 8.0 branch
run('git','config','branch.8.0.remote','odoo')
run('git','config','branch.8.0.merge','refs/heads/8.0')
run('git','checkout','8.0')
else:
printf('no git repo found')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment