Odoo Help

Welcome!

This community 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.

0

How to download openERP source from launchpad with bazaar, step by step?

By
Nemanja Dragovic
on 8/14/14, 4:34 AM 1,207 views

There is a lot of artickles about this, but i did not find step by step guide. I have installed bazaar and only want to get latest source code version of openERP v7...

1

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 8/14/14, 5:42 AM

If possible, you should skip the launchpad version and head over directly to github. Anyway, here is what I do (as the user I want the code under).

Configure bazaar for use if not done already:

  • bzr whoami "Nemanja Dragovic <nemanja@someaddress.com>"

Then:

  • mkdir openerp (for example in your home directory)
  • cd openerp
  • bzr branch lp:openobject-server/7.0 server

When this is done, also get the addons and web modules:

  • bzr branch lp:openobject-addons/7.0 addons
  • bzr branch lp:openobject-web/7.0 web

------------------------

Alternatively, if using github, use these steps (assuming git has been installed):

  • mkdir openerp
  • cd openerp
  • git clone https://github.com/odoo/odoo.git odoo

When this is done:

  • cd odoo
  • git checkout -r origin/7.0

And you should be on the right version as well. No need for seperate downloads of web/addons, its all included in the git repository.

 

Hope this helps!

2

gunnar

--gunnar--
1153
| 6 7 8
Germany
--gunnar--

born

gunnar
On 8/14/14, 5:40 AM

OpenERP has moved from bzr/launchpad to git/github. It can be that the code is still available on launchpad but if you start right now I strongly suggest to get started with git & download the code from github. I am a novice with this myself, so I can provide only basic info but that might get you going at least. I assume you are on a linux machine. The followint commands are working for ubuntu & debian

  1. sudo apt-get install git
  2. cd /path/to/folder *
  3. sudo git clone --branch 7.0 https://github.com/odoo/odoo   or   sudo git clone --branch 7.0 https://github.com/OCA/OCB **

* wherever you want to download the sourcedode to. If you want to run Odoo on this machine this would be inside of /opt. But I suggest to follow a howto for an installation because there is a little more to it then downloading the source code
** this 'clones' the sourcecode into a local repository. If you want to study the code that might be sufficient

I guess it would be a good idea to study how to get around with git a little

http://en.wikipedia.org/wiki/Git_%28software%29  or  http://git-scm.com/book  or  https://help.github.com/ might be a way to start

You were 2 minutes earlier, but your explanation is very nice!

Ludo - Neobis
on 8/14/14, 5:43 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/14/14, 4:34 AM
Seen: 1207 times
Last updated: 3/16/15, 8:10 AM