← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

*** This bug is a duplicate of bug 633896 ***
    https://bugs.launchpad.net/bugs/633896

** This bug has been marked a duplicate of bug 633896
   Regression: code server actions don't work at all (5.0)
 * You can subscribe to bug 633896 by following this link: https://bugs.launchpad.net/openobject-server/+bug/633896/+subscribe

-- 
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