Did some debugging on the client, I found out that when an action is called the attribute context is not passed along when calling this action. Instead the screen context is passed through.
See line 132 in widget/view/form_gtk/parser.py
elif button_type == 'action': obj = service.LocalService('action.main') action_id = int(self.attrs['name']) obj.execute(action_id, {'model':self.form.screen.name, 'id': id or False, 'ids': id and [id] or [], 'report_type': 'pdf'}, context=self.form.screen.context)
The context as you see is self.form.screen.context, why not pass the self.attrs['context'] ? or a combination of both ?
Did some debugging on the client, I found out that when an action is called the attribute context is not passed along when calling this action. Instead the screen context is passed through.
See line 132 in widget/ view/form_ gtk/parser. py
The context as you see is self.form. screen. context, why not pass the self.attrs[ 'context' ] ? or a combination of both ?