Can't use loops in server actions (5.0)

Bug #661234 reported by Dukai Gábor
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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.