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

installation with git > what best practice for adding modules?

By
gunnar
on 7/25/14, 5:57 AM 2,722 views

I have installed the OpenERP 7 from the community backports via github git clone --branch 7.0 https://github.com/OCA/OCB.git

I cloned into /opt/ocb/ocb-server so this is now a local git repository. I think the whole idea behing this is to be able to update my installation with a 'git merge' command. So far that is clear to me I guess.

What I's like to understand better is what would be the best practise toward Modules that will be added later.

  1. The addons folder is part of this initial local git repository and I wonder whether it is a good practice to 'git clone' (and generating new git repositories) other Modules "inside" of this inital one?
  2. how to handle modules that might be added through bzr (if they are not available on git for example) ?

Can anyone advise a best practice?

 

0
NUMERIGRAPHE
On 9/16/14, 10:41 AM

Basically, just check out each module repository as an "addons dir" on your odoo instance and use the "addons-path" parameter in the config file.

I.e. our instance has :

  • /odoo = the official code
  • /stock-logistics-warehouse = OCA modules about WMS
  • /purchase-workflow = OCA modules about purchases
  • /private = our private modules (covered by OPW)
  • /numerigraphe = our published modules
  • /bremskrel = modules we forked from Bremskrel's
  • ...

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: 7/25/14, 5:57 AM
Seen: 2722 times
Last updated: 3/16/15, 8:10 AM