diff --git a/easy_my_coop/models/partner.py b/easy_my_coop/models/partner.py index c02ad59..d2fd299 100644 --- a/easy_my_coop/models/partner.py +++ b/easy_my_coop/models/partner.py @@ -14,7 +14,7 @@ class ResPartner(models.Model): if not 'date' in res: cr.execute("ALTER TABLE res_partner ALTER COLUMN birthdate TYPE date USING birthdate::date;") - super(ResPartner, self)._auto_init(cr, context=context) + return super(ResPartner, self)._auto_init(cr, context=context) @api.multi def _invoice_total(self):