تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
11716 أدوات العرض

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?

 

الصورة الرمزية
إهمال
أفضل إجابة

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
  • ...
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
10
ديسمبر 23
23640
2
مايو 24
6320
1
يناير 20
6012
2
يوليو 17
7332
1
يناير 16
3522