newline on button confirmation message

41 views
Skip to first unread message

Francisco Maria Moyano Casco

unread,
Jul 16, 2017, 12:10:08 PM7/16/17
to tryton
Hello,
     I'm making a button for a form that trigger something. I put a confirmation message, using the 'confirmation' button property. The problem is that the message occupies more than one line, and I can't (I don't know how) to insert a newline character.

     I'm using \n, but doesn't work with that. Is there any other way to do it?
    
     The trytond version I'm using is 3.8

     Thanks.
          Francisco

Cédric Krier

unread,
Jul 20, 2017, 6:10:09 AM7/20/17
to tryton
On 2017-07-16 08:52, Francisco Maria Moyano Casco wrote:
> Hello,
> I'm making a button for a form that trigger something. I put a
> confirmation message, using the 'confirmation' button property. The problem
> is that the message occupies more than one line, and I can't (I don't know
> how) to insert a newline character.
>
> I'm using \n, but doesn't work with that. Is there any other way to do
> it?

Please fill an issue and also check if both clients have the problem.

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

Francisco Maria Moyano Casco

unread,
Jul 29, 2017, 3:15:09 AM7/29/17
to tryton

Sorry, maybe I don't explain myself. English it's not my native l10n.

I have a something_form.xml. In that form, there is a button named "close" and the property confirm, just like this
....
<button name="close" string="Close"
         icon="tryton-cancel" colspan="2"
         confirm="Do you want to close? Before close, make sure you leave a brief description why."/>
.....

I need the confirm message appears in more than one line. \n doesn't work on this.

Thanks
          Francisco

Sergi Almacellas Abellana

unread,
Jul 31, 2017, 3:09:05 AM7/31/17
to try...@googlegroups.com
El 29/07/17 a les 08:57, Francisco Maria Moyano Casco ha escrit:
>
> I need the confirm message appears in more than one line. \n doesn't
> work on this.
This is a bug, so please fill it as bug on our issue tracker:

https://bugs.tryton.org

Thanks

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Reply all
Reply to author
Forward
0 new messages