Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 3b05a61

Browse files
authored
Merge pull request #8 from gisce/fix_report_context
Parse context
2 parents 183a670 + 5f340b7 commit 3b05a61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openerp/controllers/form.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,8 @@ def action(self, **kw):
915915

916916
if data.get('datas'):
917917
action = eval(data.get('datas'))
918+
if not context and 'context' in action:
919+
context = eval(action['context'])
918920
type = action.get('type')
919921
act_id = params.action
920922

0 commit comments

Comments
 (0)