title: Validate expiration date automatically
body: <p>I have created a table in Odoo, where I set the date and time of beginning and end of some activities.</p>
  
  <p>What I want to do is that when the end date and time is less than the current date, update a field in the record.</p>