Adapt to Odoo

Changes to adapt to Odoo user/partner relation
Adapt to Odoo