title: Limit the number of digits in integer?
body: <p>Is there a way to limit number of digits in integer in OpenERP like you can in char type?
  I need field that would only let you enter max two digits.</p>
  
  <p>For example with char, you can do this:</p>
  
  <pre><code>from openerp.osv import fields
  
  'char_field': fields.char(size=2),
  </code></pre>
  
  <p>Then if you try to enter more than two symbols, it won't write it.</p>
  
  <p>But if I create integer field:</p>
  
  <pre><code>'integer_field': fields.integer(),
  </code></pre>
  
  <p>It will let me write any number of digits I want.</p>