On 10 Aug 12:15, Martín Guzmán wrote:
> Hi all. I'm trying to create a stock.move and finish it using proteus... 
> I'm correctly creating the move, but when I do: Move.do([move]) I get 
> a NotImplementedError (this is an example of the code I'm using: 
> http://pastebin.com/KygJJNfa).
> 
> I read on this log 
> http://www.tryton.org/~irclog/2014-07-10.log.html#t2014-07-10 
> 15:15 that I have to specify the context in the call, but I don't know how 
> to do it.. I'm using tryton 3.0.2 and proteus 3.0.0. 
> 
> Can anyone help me with a small example or explanation? Thanks in advance.

The simplest way is to use 3.2 series with the click method:

    move.click('do')

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

Attachment: pgpBZNArydG0n.pgp
Description: PGP signature

Reply via email to