[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.
This commit is contained in:
xmo-odoo
2016-06-25 09:57:54 +02:00
committed by GitHub
parent b70c990b6a
commit 8d6ed1adbc
@@ -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