From cb269212733f7bbf427e8da5e679bc8c2ebafa27 Mon Sep 17 00:00:00 2001 From: houssine Date: Sun, 22 Oct 2017 21:16:09 +0200 Subject: [PATCH] [FIX] add missing return --- easy_my_coop/models/partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):