تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6756 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يناير 24
13464
0
أبريل 22
65
1
مايو 24
19876
1
يوليو 23
2233
1
ديسمبر 20
5906