Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4712 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 24
4208
5
thg 6 23
35210
1
thg 12 23
19126
1
thg 7 15
6147
2
thg 3 15
6137