Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6841 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
led 24
13577
0
dub 22
65
1
kvě 24
20003
1
čvc 23
2340
1
pro 20
5974