Skip to content
Snippets Groups Projects
Commit 5e63519c authored by Swapnesh Shah's avatar Swapnesh Shah Committed by GitHub
Browse files

[FIX] hr: Remove unnecessary argument


Followup on 5ce8f1e3
Before this commit, There would be traceback on Launching Plan with `Responsible` set to `other` and No `Responsible Person` defined on activity due to Extra argument.

In this commit, We remove that extra Argument.

closes odoo/odoo#44965

X-original-commit: 009e5526
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 9c9032e6
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@ class HrPlanActivityType(models.Model):
elif self.responsible == 'other':
responsible = self.responsible_id
if not responsible:
raise UserError(_('No specific user given on activity.') % employee.name)
raise UserError(_('No specific user given on activity.'))
return responsible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment