Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2298 Lượt xem

I am trying to define tooltips in xml files using the "help" attribute to give users an understanding of what the field does.

But as far as I can see, tooltips are only showing for non developers, if the "help" attribute is defined directly in the field definition in python. 

Is there a way to circumvent that restriction?


For example this works and is shown to users without developer mode:

python: 

test_field = fields.char(help="this is a test field")


but this tooltip is only shown if developer mode is active:

xml:

 


I am using odoo16 enterprise.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Paresh. 

This seems to be solved then.

Câu trả lời hay nhất

Hi Ulrich: This is a bug that has been reported by others too. See the issue below. You may want to log a support ticket so that Odoo assigns it a higher priority.

https://github.com/odoo/odoo/issues/118692

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 25
2326
1
thg 5 25
2548
1
thg 4 25
3517
1
thg 4 25
4344
1
thg 4 25
1823