From cab04d037d0df5f7f3e43e906d6d325b72da706a Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Fri, 14 Jan 2022 16:03:12 +0700 Subject: [PATCH] Allow to create vacancy for any person (#815) Signed-off-by: Andrey Sobolev --- models/recruit/src/index.ts | 2 +- plugins/recruit-assets/lang/en.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index 97a00c68ee..96d978e1af 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -263,7 +263,7 @@ export function createModel (builder: Builder): void { ) builder.createDoc(view.class.ActionTarget, core.space.Model, { - target: recruit.mixin.Candidate, + target: contact.class.Person, action: recruit.action.CreateApplication }) diff --git a/plugins/recruit-assets/lang/en.json b/plugins/recruit-assets/lang/en.json index a3d7e66198..9f3d2ab78e 100644 --- a/plugins/recruit-assets/lang/en.json +++ b/plugins/recruit-assets/lang/en.json @@ -26,6 +26,7 @@ "Company": "Company" }, "status": { - "CandidateRequired": "Please select candidate" + "CandidateRequired": "Please select candidate", + "VacancyRequired": "Please select vacancy" } } \ No newline at end of file