title: How to get current time in datetime format in XML file of odoo?
body: <p>My code is as follows....</p>
  
  <p>My Model is ...</p>
  
  <pre><code>class Today_Status(models.Model):
      _name = 'today.status'
  
      current_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
      starttime = fields.Many2one(comodel_name='book.meeting')
  </code></pre>
  
  <p>My XML file is as follows...</p>
  
  <pre><code>&lt;record model="ir.actions.act_window" id="dashboard-menu"&gt;
      &lt;field name="name"&gt;DashBoard&lt;/field&gt;
      &lt;field name="res_model"&gt;today.status&lt;/field&gt;
      &lt;field name="view_type"&gt;form&lt;/field&gt;
      &lt;field name="view_mode"&gt;tree,form&lt;/field&gt;
      &lt;field name="domain"&gt;[("start_time", "&gt;=", "current_time")]&lt;/field&gt;
      &lt;field name="view_id" ref="dash-view"/&gt;
   &lt;/record&gt;
  </code></pre>
  
  <p>I want to get current time in XML or i want to use the variable current_time specified in model in the XML file. How is it possible?</p>