title: Unique values but how to prevent with spelling mistakes - Odoo
body: <p>I can use _sql_constraints as mentioned below to prevent duplicates but when user enter like:</p>
  <p>Bakery</p>
  <p>bakery</p>
  <p>bakry</p>
  <p>etc...</p>
  <p>how i can prevent user to NOT enter this type of value?</p>
  <pre><code>&gt; _sql_constraints = [
  &gt; 
  &gt;     ('categoryname_unique',
  &gt; 
  &gt;      'unique(name)',
  &gt; 
  &gt;      'each category should be unique'),
  &gt; 
  &gt; ]
  </code></pre>