Can't use loops in server actions (5.0)

Bug #661234 reported by Dukai Gábor on 2010-10-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

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.

Related branches

Dukai Gábor (gdukai) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers