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

I've specified 'version: "2",' in my __openerp__.py yet Settings, Modules 'Latest version: 6.1.2' and 'Installed version: 6.1.2' appear.

I thought the Latest and Installed versions might come from the running instance of OpenERP, but About tells me I'm running version 6.1.1.

How can the installer see the version I've specified in my __openerp__.py?

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

The version string for your modules is relative to the OpenERP "Series" on which they are supposed to run. The series number is made of the first 2 numbers of the full server version: e.g. 6.0.4 is series 6.0, 6.1.1 is series 6.1, 7.0.0, is series 7.0. The module version that is displayed in the module list is made by concatenating the server series number with the version string of each module. If your module had version "1.4" and was running on server "6.1.1" it would appear as version "6.1.1.4".

This number is certainly peculiar but mostly legacy and used as a shortcut to know both the series and module version (you can infer it by knowing that the first 2 numbers always represent the series)

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 24
4208
5
يونيو 23
35177
1
ديسمبر 23
19111
1
يوليو 15
6147
2
مارس 15
6123