Am Freitag, 8. Mai 2015 15:00:10 UTC+2 schrieb Sergi Almacellas Abellana:
>
> El 08/05/15 a les 14:29, TPH ha escrit:
> > Hello,
> >
> > I try to write a Proteus script for generating an return sale.
> >
> > What is the best way to start? I think if have to call something like:
> > |
> > return_wizzard =Wizard("ir.action.return_sale",[sale])
> > |
> >
> And then execute the return_ transition with:
>
> return_sale.execute('return_')
>
> > But I searched now for an hour or more and can't get closer to an
> > solution. Would be nice to get some help and informations again.
> You have an example in sale scenario:
>
>
>
> http://hg.tryton.org/modules/sale/file/15a4426811f2/tests/scenario_sale.rst#l647
>
>
>
>
> --
> Sergi Almacellas Abellana
> www.koolpi.com
> Twitter: @pokoli_srk
>
Thank you very much. I only looked at an old sale scenario from 2.4 where
return = Sale(). But with your link think I will get it :-)