Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Where odoo/openerp hide version release no?

By
JC
on 6/6/14, 4:05 AM 862 views

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?

 

1

Prakash

--Prakash--
3173
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

Prakash
On 6/12/14, 1:07 AM

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
on 6/12/14, 1:37 AM

@jc: please see the updated answer.

Prakash
on 6/12/14, 1:53 AM
1

Stephen Mack

--Stephen Mack--
5023
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

Stephen Mack
On 7/28/14, 10:54 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/6/14, 4:05 AM
Seen: 862 times
Last updated: 3/16/15, 8:10 AM