Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4684 Vues

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?

Avatar
Ignorer
Meilleure réponse

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)

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
juin 24
4208
5
juin 23
35137
1
déc. 23
19096
1
juil. 15
6147
2
mars 15
6114