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

Hi there, I am trying to figure out how to version control Odoo. I have cloned the GitHub repo with the source files, installed the required modules and ran the setup.py. 

I now have a running version of Odoo on my local machine and I tried to upload everything onto GitHub but keep running into " pack exceeds maximum allowed size". 

How do you other devs version control your Odoo? I am mainly interested in using the E-learning platform, are there perhaps only specific files that I need to version control, like modules?

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

Answer for anyone who stumbles across this in the future: This was to do with how GitHub handles pushes by creating 'packs' -> The repo was too large and the fix was to either push in two parts, or much easier, simply fork from the official Odoo repo!

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

Probably by adding odoo as a (git) submodule. Then you add your own module into a different folder. Make sure that they are part of the odoo addons path (by modyfing the odoo config file if necessary) 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 16
4486
1
أغسطس 15
4124
2
مارس 15
8292
1
أكتوبر 24
26913
1
يناير 20
6669