base metaclasses for odoo programming