← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 661234] Re: Can't use loops in server actions (5.0)

 

** Patch added: "allow_loops.patch"
   https://bugs.launchpad.net/bugs/661234/+attachment/1694628/+files/allow_loops.patch

** Branch linked: lp:openobject-server/5.0

-- 
Can't use loops in server actions (5.0)
https://bugs.launchpad.net/bugs/661234
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Server: New

Bug description:
Hi!
5.0 latest bzr.
The safe_eval() used for running code type server actions doesn't allow loops to be included in the server action.
It gives a "ValueError: opcode SETUP_LOOP not allowed" error.

The 'SETUP_LOOP' and  'POP_BLOCK' opcodes should be allowed to be able to use loops.





References