title: How can I create an Odoo/OpenERP product instance in Python, interactively?
body: <p>I want to interactively create new Odoo/OpenERP product. I got as far as importing the addon:</p>
  
  <pre><code>python
  
  &gt;&gt;&gt; import openerp
  &gt;&gt;&gt; openerp.tools.config.parse_config(['--addons-path=addons'])
  &gt;&gt;&gt; from openerp.addons.product import product
  &gt;&gt;&gt; p = new product.product_product()
  SyntaxError: invalid syntax
  
  &gt;&gt;&gt; p = product.product_product()
  &gt;&gt;&gt; type(p)
  NoneType   # no luck here either
  
  # And then there is...
  
  &gt;&gt;&gt; product.product_product.create()
  
  TypeError: unbound method create() must be called with product_product instance as first argument (got nothing instead)
  
  # Ok I get that, but how do I create a product_product instance?
  
  # And this one is not very clear either:
  
  &gt;&gt;&gt; product.product_product.create_instance()
  
  TypeError: create_instance() takes exactly 3 arguments (1 given)
  </code></pre>
  
  <p>But the <code>create_instance</code> docstring is not very helpful unfortunately and <code>ack-grep create_instance</code> doesn't give me any results inside the addons directory.</p>
  
  <p>I've been looking for good <code>osv</code> (the Odoo ORM) examples, but not much luck there thus far.</p>