Re: [tryton-dev] Calling client action from a button

2013-08-22 Thread Sergi Almacellas Abellana
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al 21/08/13 22:15, En/na Cédric Krier ha escrit: n 21/08/13 21:23 +0200, Sergi Almacellas Abellana wrote: Hi devs, It's possible to execute a client action from a button? I want to execute the button code and when finished call the new action

Re: [tryton-dev] Calling client action from a button

2013-08-22 Thread Cédric Krier
On 22/08/13 11:54 +0200, Sergi Almacellas Abellana wrote: Al 21/08/13 22:15, En/na Cédric Krier ha escrit: n 21/08/13 21:23 +0200, Sergi Almacellas Abellana wrote: Hi devs, It's possible to execute a client action from a button? I want to execute the button code and when finished

Re: [tryton-dev] Calling client action from a button

2013-08-22 Thread Sergi Almacellas Abellana
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al 22/08/13 16:53, En/na Cédric Krier ha escrit: On 22/08/13 11:54 +0200, Sergi Almacellas Abellana wrote: Al 21/08/13 22:15, En/na Cédric Krier ha escrit: n 21/08/13 21:23 +0200, Sergi Almacellas Abellana wrote: Hi devs, It's possible to

[tryton-dev] Calling client action from a button

2013-08-21 Thread Sergi Almacellas Abellana
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi devs, It's possible to execute a client action from a button? I want to execute the button code and when finished call the new action or the duplicate action on client side. That will increase the usability of the program by removing one click.

Re: [tryton-dev] Calling client action from a button

2013-08-21 Thread Cédric Krier
On 21/08/13 21:23 +0200, Sergi Almacellas Abellana wrote: Hi devs, It's possible to execute a client action from a button? I want to execute the button code and when finished call the new action or the duplicate action on client side. You can use the button_action decorator: