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: http://doc.tryton.org/2.8/trytond/doc/ref/models/models.html?highlight=modelview.button#trytond.model.ModelView.button_action -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: cedric.kr...@b2ck.com Website: http://www.b2ck.com/
pgpjQEbcc46s4.pgp
Description: PGP signature