title: Update line in odoo 9
body: <p>How update line in odoo 9?</p>
  
  <p>Source:</p>
  
  <pre><code>@api.multi
  def my_func(self):
      for line  in self.test_line_ids:
          #print(line.name)
          print(line.create_date)
          if (line.create_date == "2017-01-25 10:50:56"):
              self.write({'create_date': '2017-01-11 10:50:56'})
              print("YES")
          else:
              print("NO")
  </code></pre>
  
  <p>I'm try above example, in console print YES but row is not updated in database!</p>