On 2016-02-02 03:48, Αργύρης Ξηρός wrote:
> 
> 
> Τη Δευτέρα, 1 Φεβρουαρίου 2016 - 7:35:04 μ.μ. UTC+2, ο χρήστης Antonio 
> Roncero έγραψε: 
> >
> > I use proteus for that too
> >
> > [1] http://hg.tryton.org/proteus
> >
> 
> Ok, so as I can see, on invoices there is a class method 'post(invoices)' 
> which is responsible for the transition.
> 
> How can someone call that function from proteus?

Yes of course as any method decorated with ModelView.button.
But for migration, I will not advise to run workflow because it will
probably not generate the same data as on your old system (even if it is
Tryton). When I do migration, I only migrate raw data or draft document.
So generally it is only the referential parts (like Party, Product etc.)
and usually just an initial accounting balance. It happens that I had to
retrieve some document for history like older sales, in that case I just
import them in a done state without executing any workflow at all.

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

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20160202120848.GX20880%40tetsuo.

Reply via email to