Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3505 Visualizzazioni

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?

 

Avatar
Abbandona
Risposta migliore

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

 

Avatar
Abbandona
Autore

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

@jc: please see the updated answer.

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
nov 22
3116
3
giu 25
73839
2
apr 21
14692
0
ott 19
3182
2
mar 15
7382