This question has been flagged
1 Reply
10070 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?

 

Avatar
Discard
Best Answer

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
  • ...
Avatar
Discard