Le mercredi 19 août 2015 09:35:02 UTC+2, Cédric Krier a écrit :
>
> On 2015-08-19 09:24, Pascal Obstetar wrote: 
> > 
> > 
> > Le 18/08/2015 13:40, Cédric Krier a écrit : 
> > >On 2015-08-18 04:18, Pascal Obstetar wrote: 
> > >>Bonjour, 
> > >> 
> > >>Je cherche simplement à ajouter un bouton dans une vue form 
> correspondant 
> > >>au raccourci clavier "Maj+Ctrl+D" qui est la fonction dupliquer de la 
> > >>classe correspondante mais je ne connais pas la fonction appelante 
> > >>"dupliquer" ? est-ce "copy" ? 
> > >Oui. 
> > > 
> > > 
> > Si c'est copy , quelle syntaxe pour l'appeler ? 
> > 
>
> http://doc.tryton.org/3.6/trytond/doc/ref/models/models.html?highlight=copy#trytond.model.ModelStorage.copy
>  
>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

Merci 

Répondre à