Mage2odoo now uses a new magento module, change all calls to reflect. Add 2 methods if developer wants to hard code vals for attribute