title: Passing active_id to action window in openerp7
body: <p>I building a custom module in openerp version 7. I'm facing problems in trying to link an anchor tag in a kanban view item to an action window which will open the clicked on item in a form view.</p>
  
  <p>Here's a sinppet of the kanban view</p>
  
  <pre><code>&lt;a  type="action"  name="myaction"&gt;
   &lt;img t-att-src="kanban_image('vessel', 'image_medium', record.id.value)" class="oe_employee_picture" /&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Here's the action that will be invoked on click</p>
  
  <pre><code>&lt;record model="ir.actions.act_window" id="myaction"&gt;
    &lt;field name="name"&gt;Vessel&lt;/field&gt;     
    &lt;field name="res_model"&gt;vessel&lt;/field&gt;
    &lt;field name="view_type"&gt;form&lt;/field&gt;
    &lt;field name="view_id" ref="crew_management.view_crew_management_vessels_form"/&gt;
    &lt;field name="view_mode"&gt;form&lt;/field&gt;
    &lt;field name="context"&gt;{'id': active_id}&lt;/field&gt;
  &lt;/record&gt;
  </code></pre>
  
  <p>Currently when clicking on the link it opens the correct form view but empty. It seems that the active id of the selected item is not passed somehow.</p>