How to add a tooltip to a field in Tryton

39 views
Skip to first unread message

Vincent Bastos

unread,
Jan 10, 2016, 9:31:51 PM1/10/16
to tryton
Hey,

I was wondering how to add a "tooltip" to a field in Tryton?

Is this possible?

P.S. my understanding of a "tooltip" is a pop-up box which can appear when a user clicks a question mark next to the label of a field for example.

Cédric Krier

unread,
Jan 11, 2016, 4:30:03 AM1/11/16
to tryton
On 2016-01-10 18:31, Vincent Bastos wrote:
> Hey,
>
> I was wondering how to add a "tooltip" to a field in Tryton?
>
> Is this possible?

It is the help keyword:
http://doc.tryton.org/3.8/trytond/doc/ref/models/fields.html?highlight=help#trytond.model.fields.Field.help

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Vincent Bastos

unread,
Jan 18, 2016, 1:55:49 AM1/18/16
to tryton


On Monday, January 11, 2016 at 7:30:03 PM UTC+10, Cédric Krier wrote:
On 2016-01-10 18:31, Vincent Bastos wrote:
> Hey,
>
> I was wondering how to add a "tooltip" to a field in Tryton?
>
> Is this possible?

It is the help keyword:
http://doc.tryton.org/3.8/trytond/doc/ref/models/fields.html?highlight=help#trytond.model.fields.Field.help 

Help makes sense :). Next thing I will do is look whether it is possible to control this per user profile.
 

Cédric Krier

unread,
Jan 18, 2016, 6:10:06 AM1/18/16
to tryton
No and it makes no sense to implement it. "help" must describe the field
and this can not be different per user.

Vincent Bastos

unread,
Jan 18, 2016, 6:39:03 AM1/18/16
to try...@googlegroups.com
On Mon, Jan 18, 2016 at 9:06 PM, Cédric Krier <cedric...@b2ck.com> wrote:
On 2016-01-17 22:55, Vincent Bastos wrote:
> On Monday, January 11, 2016 at 7:30:03 PM UTC+10, Cédric Krier wrote:
> > It is the help keyword:
> >
> > http://doc.tryton.org/3.8/trytond/doc/ref/models/fields.html?highlight=help#trytond.model.fields.Field.help
>
> Help makes sense :). Next thing I will do is look whether it is possible to
> control this per user profile.

No and it makes no sense to implement it. "help" must describe the field
and this can not be different per user.

I didn't mean the content of the tip, but whether it is shown or not. And now that I think about it, this does not make sense either I think. 


--
Vincent Bastos
Lava Lab Software
Reply all
Reply to author
Forward
0 new messages