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

Change Tooltip Help Text

By
Michael Caviness
on 4/13/15, 4:09 PM 690 views

How can I change the text of a tooltip? For example, see this screenshot of a tooltip for "Gross Weight". The text reads "The gross weight in Kg". I would like to change this to read "The gross weight in lbs". Is that possible

http://i.imgur.com/Dp0UoDr.png

1
Mohamed Essakali
On 4/13/15, 7:59 PM

You can achieve it using a specific module that inherit from the original one and redefine that field and change the help attribute like this:

class product_template(osv.Model):

_inherit = ['product.template']

_columns = {

                    'weight': fields.float('Gross Weight', digits_compute=dp.get_precision('Stock Weight'), help="The gross weight in lbs."),


hope it helps.

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: 4/13/15, 4:09 PM
Seen: 690 times
Last updated: 8/27/15, 7:15 PM