تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

How can I automatically call the function action_start_survey when a new job application is created.

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
surveyAutomatedActions#recruitment#V11
1 الرد
2534 أدوات العرض
الصورة الرمزية
Bill Ennals

In Odoo V11 (I know...need to upgrade soon) CE, I'm trying to automate a part of the recruitment process.

I'm using hr_recruitment_survey and I would like to automatically send new applicants an email with a link to the job interview survey with their specific response_id.

I know how to configure the email to be sent automatically, and the post in this link:

https://www\\.odoo\\.com/forum/help\\-1/interview\\-form\\-in\\-applicant\\-email\\-template\\-in\\-recruitment\\-module\\-131408

\\.\\.\\.makes\\ reference\\ to\\ the\\ correct\\ placeholder\\ to\\ use\\ to\\ pull\\ the\\ unique\\ response_id\\ \\(green\\ rectangle\\ in\\ image\\ below\\)\\ for\\ the\\ application\\ in\\ question,\\ but\\ it\\ will\\ only\\ work\\ if\\ the\\ 'Start\\ Interview'\\ button\\ has\\ been\\ clicked\\ once\\.

Can\\ I\\ create\\ an\\ automatic\\ action\\ that\\ will\\ call\\ this\\ function\\ when\\ a\\ new\\ application\\ is\\ created\\?

Alternatively,\\ can\\ I\\ inherit\\ the\\ hr\\.applicant\\ model\\ and\\ customize\\ it\\ so\\ that\\ 'response_id'\\ is\\ automatically\\ created\\ when\\ a\\ new\\ application\\ is\\ created\\?

If\\ either\\ of\\ the\\ above\\ options\\ is\\ possible,\\ I\\ would\\ appreciate\\ some\\ help\\ with\\ the\\ code\\ \\(I'm\\ just\\ a\\ self\\-taught\\ beginner\\)\\. \\ I've\\ made\\ some\\ attempts\\ borrowing\\ from the\\ code that\\ defines\\ 'action_start_survey',\\ but\\ I'm\\ really\\ just\\ stabbing\\ in\\ the\\ dark,\\ so\\ everything\\ failed\\.

Thanks\\ for\\ reading!

p\.s\.\ Apologies\ for\ the\ backslash\ attack\. \ I've\ run\ out\ of\ patience\ trying\ to\ fix\ it\. \ Boy\ is\ this\ forum\ software\ buggy!

​


0
الصورة الرمزية
إهمال
الصورة الرمزية
Bill Ennals
الكاتب أفضل إجابة

I figured out how to do this myself.

I made an automated action of the 'Execute several actions' type.  Here it is:

​

Here\ are\ the\ individual\ automated\ actions\ that\ make\ up\ the\ combined\ action:

Calling\ the\ function\ to\ start\ the\ survey\ turned\ out\ to\ be\ very\ simple!

To\ send\ the\ email,\ I\ was\ trying\ use\ an\ automated\ action\ to\ send\ an\ email\ with\ the\ link\ to\ the\ survey\ directly,\ but\ I\ couldn't\ get\ the\ email\ template\ to\ pull\ the\ applicant's\ email\ address\ into\ the\ 'To'\ field,\ so\ it\ wouldn't\ send\.

I\ gave\ up\ eventually\ and\ used\ the\ built\-in\ feature\ where\ you\ can\ set\ an\ automated\ email\ to\ be\ sent\ to\ an\ applicant\ when\ their\ application\ is\ progressed\ to\ a\ particular\ stage\. \ I\ created\ a\ new\ stage\ just\ for\ this\ purpose\ and\ gave\ it\ the\ sequence\ '1',\ immediately\ after\ the\ first\ stage\ 'new'\ which\ has\ the\ sequence\ '0'\. \ The\ email\ template\ worked\ fine\ when\ triggered\ in\ this\ way,\ so\ I\ don't\ know\ what\ the\ problem\ with\ the\ 'Send\ Email'\ automated\ action\ was\.

The\ 'Applicant:\ RGQ\-Acknowledgement'\ template\ set\ in\ the\ automated\ email\ field\ above\ uses\ the\ following\ placeholder\ to\ get\ the\ correct\ survey\ response_id\ for\ the\ application\. \ Thanks\ to\ @VasystOM\ Technologies\ for\ this\ tip\.

h t t p://${object.survey_id.public_url.replace('http://','')}/${object.response_id.token}

The second part of the combined automated action simply updates the record by changing the 'state' (Stage) field to 'id' '4', which is the id of the 'survey sent' stage.

That's it.  Sure does save me a lot of time and it means the applicant get's to fill out their survey straight after submitting their application, so they are less likely to forget about it.


0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
Fix Automated Action Based on Time Condition, From Odoo AutoAction(Done), to Code(Not yet)
AutomatedActions
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
3
نوفمبر 25
500
Can I get the user_input_id data from survey.user_input.line when the question appears before continuing or submitting
survey
الصورة الرمزية
الصورة الرمزية
1
أغسطس 25
3340
Is there a way to prevent Employees from being able to edit Surveys (questions, pages, etc)?
survey
الصورة الرمزية
1
أغسطس 25
3493
Add images to Odoo Survey Questions تم الحل
survey
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
يونيو 25
3178
How to copy Transfer lines with an Automated Action
AutomatedActions
الصورة الرمزية
0
سبتمبر 24
2214
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now