跳至內容
選單
此問題已被標幟
2 回覆
3514 瀏覽次數

By selecting  [About OpenERP] a pop up message box shows OpenERP Version. Where can I find it? in the codes? or in the database please help?

 

頭像
捨棄
最佳答案

In the below file can find the code:-

addons\web\static\src\xml\base.xml

Line no:480

In the UserMenu template uncomment the below code:-

Example,

        <!--<li><a href="#" data-menu="about">About OpenERP</a></li>-->

EDIT:-

Additional code related to About Openerp:-

addons\web\static\src\js\chrome.js

Line no 1149:-

on_menu_about: function() {
        var self = this;
        self.rpc("/web/webclient/version_info", {}).done(function(res)    

});

addons\web\controllers\main.py

Line no: 679

   @openerpweb.jsonrequest
    def version_info(self, req):
        return openerp.service.web_services.RPC_VERSION_1

 

頭像
捨棄
作者

I notice a variable for version in base.xml Version where openerp store the version number?

@jc: please see the updated answer.

最佳答案

The information you are looking for is located in ~odoo/openerp/release.py, line 33.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 22
3118
3
6月 25
73867
2
4月 21
14703
0
10月 19
3183
2
3月 15
7385