Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
11766 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
10
pro 23
23714
2
kvě 24
6439
1
led 20
6130
2
čvc 17
7433
1
led 16
3594