Modify import to suit odoo version 8