Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4693 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 24
4208
5
giu 23
35181
1
dic 23
19113
1
lug 15
6147
2
mar 15
6125