[FIX] server action not returning anything should be treated as an empty action descriptor
bzr revid: xmo@openerp.com-20120629095753-n7o6armcs68y8dsr
This commit is contained in:
@@ -676,6 +676,8 @@ def load_actions_from_ir_values(req, key, key2, models, meta):
|
||||
for id, name, action in actions]
|
||||
|
||||
def clean_action(req, action, do_not_eval=False):
|
||||
if action is False:
|
||||
action = {}
|
||||
action.setdefault('flags', {})
|
||||
|
||||
context = req.session.eval_context(req.context)
|
||||
|
||||
Reference in New Issue
Block a user