From 8d6ed1adbc75c9f7b0930fb226ba2cc29a47cc7a Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Sat, 25 Jun 2016 09:57:54 +0200 Subject: [PATCH] [FIX] hr_recruitment: _group_by_full new API callback issue Incompatibility between the way the callback had been migrated in hr_recruitment and the way it's now called in base. --- addons/hr_recruitment/models/hr_recruitment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_recruitment/models/hr_recruitment.py b/addons/hr_recruitment/models/hr_recruitment.py index 08349eb53b3..746f3a418fb 100644 --- a/addons/hr_recruitment/models/hr_recruitment.py +++ b/addons/hr_recruitment/models/hr_recruitment.py @@ -182,8 +182,8 @@ class Applicant(models.Model): for record in self: record.attachment_number = attach_data.get(record.id, 0) - @api.model - def _read_group_stage_ids(self, ids, domain, read_group_order=None, access_rights_uid=None): + @api.multi + def _read_group_stage_ids(self, domain, read_group_order=None, access_rights_uid=None): access_rights_uid = access_rights_uid or self.env.uid Stage = self.env['hr.recruitment.stage'] order = Stage._order