title: How to add parameter to hyperlink in view.xml in Odoo
body: <p>I have created an odoo module, this is one of my view record that displaying the information of a doctor correctly:</p>
  
  <pre><code>&lt;record id="medinfo_doctor_form" model="ir.ui.view"&gt;
  &lt;field name="name"&gt;Medinfo doctors: form&lt;/field&gt;
  &lt;field name="model"&gt;medinfo.doctors&lt;/field&gt;
  &lt;field name="arch" type="xml"&gt;
    &lt;form string="Doctors"&gt;
      &lt;header&gt;
        &lt;!-- further functions / configurations required --&gt;
      &lt;/header&gt;
      &lt;sheet&gt;
        &lt;h1&gt;Doctors Information&lt;/h1&gt;
        &lt;div&gt;
          &lt;group&gt;
            &lt;group&gt;
              &lt;field name="name"/&gt;
              &lt;field name="gender"/&gt;
              &lt;field name="birthday"/&gt;
              &lt;field name="mobile"/&gt;
              &lt;field name="idcard"/&gt;
              &lt;field name="email"/&gt;
            &lt;/group&gt;
            &lt;group&gt;
              &lt;field name="create_date"/&gt;
              &lt;field name="password"/&gt;
              &lt;field name="status"/&gt;
              &lt;field name="permission"/&gt;
              &lt;field name="level"/&gt;
            &lt;/group&gt;
          &lt;/group&gt;
          &lt;group&gt;
            &lt;field name="address"/&gt;
            &lt;field name="product_address"/&gt;
          &lt;/group&gt;
        &lt;/div&gt;
        &lt;!--this div is to be moved to a correct place--&gt;
        &lt;div&gt;
          &lt;!--My problem is here!!!!!!!!!!!!!!!!!!!!!!!!!!!!!--&gt;
          &lt;a target="_blank" href="diagnoses_upload/"&gt;Upload&lt;/a&gt;
        &lt;/div&gt;
      &lt;/sheet&gt;
    &lt;/form&gt;
  &lt;/field&gt;
  &lt;/record&gt;
  </code></pre>
  
  <p>Now I want to add a hyper link to point to another url, the hyper link is commented in the code block above. </p>
  
  <p><strong>What I want</strong> is to add the <code>name</code> of current doctor record into the href, So that I could get the <code>name</code> parameter in other page and process it accordingly. Can anyone told me how can I implement this?</p>
  
  <p><strong>Or</strong>, is there any other solution that could pass the <code>name</code> here to another page through whatever method so that I could get the <code>name</code> parameter in another page?</p>
  
  <p>Many thanks!</p>
  
  <p><strong>Update:</strong> I have found that context seems to be able to store session info, but how can i get that from controller.py? Is this a correct direction?</p>