i have view wich has a button that execute this code:
context['subscription_tmpl_id'] = data.id
result = {
'view_type': 'form',
'view_mode': 'form',
'view_id' : self.pool.get('ir.ui.view').search(cr, uid, [ ('name', '=', 'esfyt.subscription.new.step3')]),
'res_model' : 'esfyt.subscription.new.ammount',
'type' : 'ir.actions.act_window',
'target' : 'new',
'name' : 'Your Subscription ammount',
'context' : context,
}
return result
in that new windowsi would lik to read the context and popluate the views field with it. in this instance the `subscription_tmpl_id`.
How can I do this?