Fix for stock levels, automatic stock valuing, and openerp_import.py