Can't use loops in server actions (5.0)
Bug #661234 reported by
Dukai Gábor
This bug report is a duplicate of:
Bug #633896: Regression: safe_eval() doesn't allow loops,pop_block and set().
Edit
Remove
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
To post a comment you must log in.