title: How to keep selected boolean fields based on computed result in odoo 10?
body: <p>I have a scenario, where need to keep selected boolean fields based on computed result before saving record, so how can i do this?</p>
  
  <p>Here is my code :</p>
  
  <pre><code>option = fields.Boolean(string='option') 
  selected_option = fields.Boolean(compute='check_value', string='Selected')
  
  
  
  @api.multi 
  def check_value(self):
      for result in self:
          if result.option == True:
              result.selected_option = True
          result.selected_option = False
  </code></pre>