diff --git a/odoo/tools/safe_eval.py b/odoo/tools/safe_eval.py
index ce47edb9d0f193a4b13022e8d478c618c0c97b9f..ca21cc7210afd3f6614b66f253f72adcee3fb3c3 100644
--- a/odoo/tools/safe_eval.py
+++ b/odoo/tools/safe_eval.py
@@ -89,6 +89,7 @@ _EXPR_OPCODES = _CONST_OPCODES.union(to_opcodes([
 ])) - _BLACKLIST
 
 _SAFE_OPCODES = _EXPR_OPCODES.union(to_opcodes([
+    'GEN_START',  # added in 3.10
     'POP_BLOCK', 'POP_EXCEPT',
 
     # note: removed in 3.8