Odoo Help

0

installation with git > what best practice for adding modules?

By
gunnar
on 7/25/14, 5:57 AM 3,660 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
  • ...

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/25/14, 5:57 AM
Seen: 3660 times
Last updated: 3/16/15, 8:10 AM