| 1 |
<odoo> |
| 2 |
|
| 3 |
<record model="ir.actions.act_window" id="action_hr_job_new_application"> |
| 4 |
<field name="name">New Application</field> |
| 5 |
<field name="res_model">hr.applicant</field> |
| 6 |
<field name="view_mode">form</field> |
| 7 |
<field name="context">{'search_default_job_id': [active_id], 'default_job_id': active_id}</field> |
| 8 |
</record> |
| 9 |
|
| 10 |
<record id="view_hr_job_kanban" model="ir.ui.view"> |
| 11 |
<field name="name">hr.job.kanban</field> |
| 12 |
<field name="model">hr.job</field> |
| 13 |
<field name="arch" type="xml"> |
| 14 |
<kanban highlight_color="color" |
| 15 |
class="o_hr_recruitment_kanban" |
| 16 |
on_create="hr_recruitment.create_job_simple" |
| 17 |
sample="1" |
| 18 |
limit="40" |
| 19 |
action="%(action_hr_job_applications)d" |
| 20 |
type="action" |
| 21 |
js_class="recruitment_kanban_view" |
| 22 |
> |
| 23 |
<field name="active"/> |
| 24 |
<field name="alias_email"/> |
| 25 |
<templates> |
| 26 |
<t t-name="menu" groups="hr_recruitment.group_hr_recruitment_user"> |
| 27 |
<div class="container"> |
| 28 |
<div class="row"> |
| 29 |
<div class="col-6"> |
| 30 |
<h5 role="menuitem" class="o_kanban_card_manage_title"> |
| 31 |
<span>View</span> |
| 32 |
</h5> |
| 33 |
<div role="menuitem" name="menu_view_applications"> |
| 34 |
<a name="%(action_hr_job_applications)d" type="action">Applications</a> |
| 35 |
</div> |
| 36 |
<div role="menuitem"> |
| 37 |
<a name="action_open_activities" type="object">Activities</a> |
| 38 |
</div> |
| 39 |
<div role="menuitem" name="menu_view_job_posts"> |
| 40 |
<a name="%(action_hr_job_sources)d" type="action" context="{'default_job_id': id}">Trackers</a> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
<div class="col-6"> |
| 44 |
<h5 role="menuitem" class="o_kanban_card_manage_title"> |
| 45 |
<span>New</span> |
| 46 |
</h5> |
| 47 |
<div role="menuitem" name="menu_new_applications"> |
| 48 |
<a name="%(hr_recruitment.action_hr_applicant_new)d" type="action">Application</a> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
<div class="col-6"> |
| 52 |
<h5 role="menuitem" class="o_kanban_card_manage_title"> |
| 53 |
<span>Reporting</span> |
| 54 |
</h5> |
| 55 |
<div role="menuitem" name="kanban_job_reporting"> |
| 56 |
<a name="%(hr_recruitment.action_hr_recruitment_report_filtered_job)d" type="action">Analysis</a> |
| 57 |
</div> |
| 58 |
</div> |
| 59 |
</div> |
| 60 |
<div class="o_kanban_card_manage_settings row"> |
| 61 |
<div class="col-6" role="menuitem" aria-haspopup="true"> |
| 62 |
<field name="color" widget="kanban_color_picker"/> |
| 63 |
</div> |
| 64 |
<div class="col-6" role="menuitem"> |
| 65 |
<a class="dropdown-item" t-if="widget.editable" name="edit_job" type="open">Configuration</a> |
| 66 |
<a class="dropdown-item" t-if="record.active.raw_value" type="archive" >Archive</a> |
| 67 |
<a class="dropdown-item" t-if="!record.active.raw_value" name="action_unarchive" type="object">Unarchive</a> |
| 68 |
</div> |
| 69 |
</div> |
| 70 |
</div> |
| 71 |
</t> |
| 72 |
<t t-name="card"> |
| 73 |
<div class="o_hr_recruitment_kanban_card_large_screen"> |
| 74 |
<main> |
| 75 |
<div class="d-flex flex-row align-content-center ms-2"> |
| 76 |
<div class="col-3 d-flex flex-column align-self-center o_kanban_card_header"> |
| 77 |
<div class="d-flex flex-row justify-content-between"> |
| 78 |
<div class="d-flex fw-bold fs-3 o_kanban_card_header_title"> |
| 79 |
<field name="is_favorite" widget="boolean_favorite" nolabel="1"/> |
| 80 |
<field class="fs-3" name="name"/> |
| 81 |
</div> |
| 82 |
<div t-if="record.alias_email.value" class="d-flex flex-wrap"> |
| 83 |
<field name="alias_id" |
| 84 |
groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 85 |
</div> |
| 86 |
</div> |
| 87 |
<div class="d-flex flex-row" |
| 88 |
groups="hr_recruitment.group_hr_recruitment_interviewer,hr.group_hr_user"> |
| 89 |
<div class="col"> |
| 90 |
<div groups="!base.group_multi_company"> |
| 91 |
<field name="user_id" widget="many2one_avatar_user" |
| 92 |
options="{'display_avatar_name': True}"/> |
| 93 |
</div> |
| 94 |
<div groups="base.group_multi_company"> |
| 95 |
<t t-if="record.company_id.raw_value != 0"> |
| 96 |
<div class="d-flex flex-row align-items-center"> |
| 97 |
<field name="user_id" widget="many2one_avatar_user" |
| 98 |
options="{'display_avatar_name': False}"/> |
| 99 |
<field class="ms-1" name="company_id"/> |
| 100 |
</div> |
| 101 |
</t> |
| 102 |
<t t-else=""> |
| 103 |
<field name="user_id" widget="many2one_avatar_user" |
| 104 |
options="{'display_avatar_name': True}"/> |
| 105 |
</t> |
| 106 |
</div> |
| 107 |
</div> |
| 108 |
</div> |
| 109 |
</div> |
| 110 |
<div class="col align-content-center"> |
| 111 |
<div class="d-flex justify-content-center"> |
| 112 |
<field name="no_of_recruitment" class="number"/> |
| 113 |
<div class="number_description fs-4 lh-1"> |
| 114 |
to<br/>recruit |
| 115 |
</div> |
| 116 |
</div> |
| 117 |
</div> |
| 118 |
<div class="col align-content-center" |
| 119 |
groups="hr_recruitment.group_hr_recruitment_interviewer"> |
| 120 |
<div class="d-flex justify-content-center"> |
| 121 |
<field name="new_application_count" class="number"/> |
| 122 |
<div class="number_description text-body-secondary fs-4 lh-1"> |
| 123 |
new<br/>applications |
| 124 |
</div> |
| 125 |
</div> |
| 126 |
</div> |
| 127 |
<div class="col align-content-center" |
| 128 |
groups="hr_recruitment.group_hr_recruitment_interviewer"> |
| 129 |
<div class="d-flex justify-content-center"> |
| 130 |
<field name="open_application_count" class="number"/> |
| 131 |
<div class=" number_description text-body-secondary fs-4 lh-1"> |
| 132 |
in<br/>progress |
| 133 |
</div> |
| 134 |
</div> |
| 135 |
</div> |
| 136 |
<div class="col align-content-center" |
| 137 |
groups="hr_recruitment.group_hr_recruitment_interviewer"> |
| 138 |
<div class="d-flex flex-row justify-content-center mt-1"> |
| 139 |
<div class="position-relative"> |
| 140 |
<button name="action_open_activities" type="object" class="ps-1 pe-1 pt-0 pb-0"> |
| 141 |
<i class="fa fa-2x fa-clock-o" role="img" aria-label="Activities"></i> |
| 142 |
<span class="activity_badge position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger text-light"> |
| 143 |
<field name="activity_count"/> |
| 144 |
</span> |
| 145 |
</button> |
| 146 |
</div> |
| 147 |
</div> |
| 148 |
</div> |
| 149 |
<div class="col align-content-center me-5"> |
| 150 |
<div class="d-flex justify-content-center"> |
| 151 |
<div name="large_screen_job_page_div" class="me-2" invisible="1"> |
| 152 |
<button class="btn btn-primary" name="%(action_hr_job_applications)d" type="action"> |
| 153 |
Job Page |
| 154 |
</button> |
| 155 |
</div> |
| 156 |
<button class="btn btn-secondary" type="open"> |
| 157 |
Configure |
| 158 |
</button> |
| 159 |
</div> |
| 160 |
</div> |
| 161 |
</div> |
| 162 |
</main> |
| 163 |
</div> |
| 164 |
<div class="o_hr_recruitment_kanban_card_mobile_screen"> |
| 165 |
<main> |
| 166 |
<div class="d-flex flex-column gap-1 mb-1"> |
| 167 |
<div class="mb-2"> |
| 168 |
<div class="d-flex fw-bold fs-3"> |
| 169 |
<field name="is_favorite" widget="boolean_favorite" nolabel="1"/> |
| 170 |
<field name="name"/> |
| 171 |
</div> |
| 172 |
<div t-if="record.alias_email.value" class="d-flex flex-wrap"> |
| 173 |
<field name="alias_id" |
| 174 |
groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 175 |
</div> |
| 176 |
</div> |
| 177 |
<div class="d-flex flex-row" |
| 178 |
groups="hr_recruitment.group_hr_recruitment_interviewer"> |
| 179 |
<div class="col-1 align-content-end me-1"> |
| 180 |
<div class="d-flex flex-row justify-content-center"> |
| 181 |
<field name="user_id" widget="many2one_avatar_user" |
| 182 |
options="{'display_avatar_name': False}"/> |
| 183 |
</div> |
| 184 |
</div> |
| 185 |
<div class="col align-content-end"> |
| 186 |
<div groups="base.group_multi_company"> |
| 187 |
<t t-if="record.company_id.raw_value != 0"> |
| 188 |
<field name="company_id"/> |
| 189 |
</t> |
| 190 |
<t t-else=""> |
| 191 |
<field name="user_id"/> |
| 192 |
</t> |
| 193 |
</div> |
| 194 |
<div groups="!base.group_multi_company"> |
| 195 |
<field name="user_id"/> |
| 196 |
</div> |
| 197 |
</div> |
| 198 |
</div> |
| 199 |
<div class="d-flex flex-row" |
| 200 |
groups="hr_recruitment.group_hr_recruitment_interviewer"> |
| 201 |
<div class="col-1 align-content-end me-1"> |
| 202 |
<div class="d-flex flex-row justify-content-center"> |
| 203 |
<i class="fa fa-user fa-2x" title="new_applications_icon"/> |
| 204 |
</div> |
| 205 |
</div> |
| 206 |
<div class="col align-content-end"> |
| 207 |
<span> |
| 208 |
<field name="application_count"/> |
| 209 |
<span > new applications</span> |
| 210 |
</span> |
| 211 |
</div> |
| 212 |
</div> |
| 213 |
</div> |
| 214 |
</main> |
| 215 |
</div> |
| 216 |
</t> |
| 217 |
</templates> |
| 218 |
</kanban> |
| 219 |
</field> |
| 220 |
</record> |
| 221 |
|
| 222 |
<record id="view_job_filter_recruitment" model="ir.ui.view"> |
| 223 |
<field name="name">Job</field> |
| 224 |
<field name="model">hr.job</field> |
| 225 |
<field name="inherit_id" ref="hr.view_job_filter"/> |
| 226 |
<field name="arch" type="xml"> |
| 227 |
<xpath expr="//field[@name='department_id']" position="after"> |
| 228 |
<filter string="My Favorites" name="my_favorite_jobs" domain="[('favorite_user_ids', 'in', uid)]"/> |
| 229 |
<separator/> |
| 230 |
</xpath> |
| 231 |
</field> |
| 232 |
</record> |
| 233 |
|
| 234 |
<record id="hr_job_simple_form" model="ir.ui.view"> |
| 235 |
<field name="name">hr.job.simple.form</field> |
| 236 |
<field name="model">hr.job</field> |
| 237 |
<field name="priority">200</field> |
| 238 |
<field name="arch" type="xml"> |
| 239 |
<form string="Create a Job Position" class="o_hr_job_simple_form" > |
| 240 |
<group> |
| 241 |
<field name="name" class="o_job_name oe_inline" placeholder="e.g. Sales Manager"/> |
| 242 |
<label for="alias_name" string="Application email" |
| 243 |
help="Define a specific contact address for this job position. If you keep it empty, the default email address will be used which is in human resources settings"/> |
| 244 |
<div name="alias_def"> |
| 245 |
<field name="alias_id" class="oe_read_only" string="Email Alias" required="0" |
| 246 |
groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 247 |
<div class="oe_edit_only" name="edit_alias"> |
| 248 |
<field name="alias_name" class="oe_inline o_job_alias" placeholder="e.g. sales-manager"/>@ |
| 249 |
<field name="alias_domain_id" class="oe_inline" placeholder="e.g. mycompany.com" |
| 250 |
options="{'no_create': True, 'no_open': True}"/> |
| 251 |
</div> |
| 252 |
<div class="text-muted">Incoming emails create applications automatically. Use it for direct applications or when posting job offers on LinkedIn, Monster, etc.</div> |
| 253 |
</div> |
| 254 |
</group> |
| 255 |
<footer> |
| 256 |
<button string="Create" name="%(action_hr_job_applications)d" type="action" class="btn-primary o_create_job" data-hotkey="q"/> |
| 257 |
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/> |
| 258 |
</footer> |
| 259 |
</form> |
| 260 |
</field> |
| 261 |
</record> |
| 262 |
|
| 263 |
<record id="create_job_simple" model="ir.actions.act_window"> |
| 264 |
<field name="name">Create a Job Position</field> |
| 265 |
<field name="res_model">hr.job</field> |
| 266 |
<field name="view_mode">form</field> |
| 267 |
<field name="view_id" ref="hr_job_simple_form"/> |
| 268 |
<field name="target">new</field> |
| 269 |
<field name="context">{'dialog_size' : 'medium'}</field> |
| 270 |
</record> |
| 271 |
|
| 272 |
<record id="hr_job_survey" model="ir.ui.view"> |
| 273 |
<field name="name">hr.job.form1</field> |
| 274 |
<field name="model">hr.job</field> |
| 275 |
<field name="inherit_id" ref="hr.view_hr_job_form"/> |
| 276 |
<field name="arch" type="xml"> |
| 277 |
<xpath expr="//h1" position="attributes"> |
| 278 |
<attribute name="class" add="d-flex align-items-center" separator=" "/> |
| 279 |
</xpath> |
| 280 |
<xpath expr="//field[@name='name']" position="before"> |
| 281 |
<field name="is_favorite" widget="boolean_favorite" class="hr_recruitment_is_favorite_job" nolabel="1"/> |
| 282 |
</xpath> |
| 283 |
<xpath expr="//form" position="attributes"> |
| 284 |
<attribute name="js_class">recruitment_form_view</attribute> |
| 285 |
</xpath> |
| 286 |
<page name="recruitment_page" position="attributes"> |
| 287 |
<attribute name="invisible">0</attribute> |
| 288 |
<attribute name="groups">hr_recruitment.group_hr_recruitment_interviewer,hr.group_hr_user</attribute> |
| 289 |
</page> |
| 290 |
<page name="job_description_page" position="attributes"> |
| 291 |
<attribute name="invisible">0</attribute> |
| 292 |
<attribute name="groups">hr_recruitment.group_hr_recruitment_interviewer,hr.group_hr_user</attribute> |
| 293 |
</page> |
| 294 |
<group name="hiring_process" position="inside"> |
| 295 |
<field name="interviewer_ids" widget="many2many_tags_avatar" |
| 296 |
options="{'no_create': True, 'no_create_edit': True}" |
| 297 |
groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 298 |
<label for="alias_name" |
| 299 |
string="Email Alias" |
| 300 |
help="Define a specific contact address for this job position. If you keep it empty, the default email address will be used which is in human resources settings" |
| 301 |
/> |
| 302 |
<div class="o_wrap_label d-flex flex-row gap-1 align-items-baseline"> |
| 303 |
<field name="alias_name" placeholder="e.g. jobs"/> |
| 304 |
<span>@</span> |
| 305 |
<field name="alias_domain_id" placeholder="e.g. domain.com" options="{'no_create': True, 'no_open': True}"/> |
| 306 |
</div> |
| 307 |
</group> |
| 308 |
|
| 309 |
<group name="job_posting" position="inside"> |
| 310 |
<field name="expected_degree" groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 311 |
</group> |
| 312 |
|
| 313 |
<group name="job" position="inside"> |
| 314 |
<label for="address_id"/> |
| 315 |
<div class="o_row"> |
| 316 |
<span invisible="address_id" class="oe_read_only">Remote</span> |
| 317 |
<field name="address_id" context="{'show_address': 1}" placeholder="Remote"/> |
| 318 |
</div> |
| 319 |
</group> |
| 320 |
|
| 321 |
<xpath expr="//group" position="after"> |
| 322 |
<field name="job_properties" columns="2" groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 323 |
</xpath> |
| 324 |
<div name="button_box" position="inside"> |
| 325 |
<button class="oe_stat_button" |
| 326 |
groups="hr_recruitment.group_hr_recruitment_interviewer" |
| 327 |
icon="fa-pencil" |
| 328 |
name="%(action_hr_job_applications)d" |
| 329 |
context="{'default_user_id': user_id, 'active_test': False}" |
| 330 |
type="action"> |
| 331 |
<field name="all_application_count" widget="statinfo" string="Applications"/> |
| 332 |
</button> |
| 333 |
<button class="oe_stat_button" |
| 334 |
groups="hr_recruitment.group_hr_recruitment_interviewer" |
| 335 |
icon="fa-file-text-o" |
| 336 |
name="action_open_attachments" |
| 337 |
type="object" |
| 338 |
invisible="documents_count == 0"> |
| 339 |
<field name="documents_count" widget="statinfo" string="Documents"/> |
| 340 |
</button> |
| 341 |
<button name="action_open_employees" |
| 342 |
groups="hr_recruitment.group_hr_recruitment_interviewer" |
| 343 |
class="oe_stat_button" |
| 344 |
icon="fa-users" |
| 345 |
invisible="not employee_count" |
| 346 |
type="object"> |
| 347 |
<field name="employee_count" widget="statinfo" string="Employees"/> |
| 348 |
</button> |
| 349 |
</div> |
| 350 |
<xpath expr="//page[@name='job_description_page']" position="after"> |
| 351 |
<page string="Trackers" name="trackers_page" groups="hr.group_hr_user"> |
| 352 |
<field name="job_source_ids" groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 353 |
</page> |
| 354 |
</xpath> |
| 355 |
<xpath expr="//sheet" position="after"> |
| 356 |
<chatter open_attachments="True" |
| 357 |
groups="hr_recruitment.group_hr_recruitment_interviewer,hr.group_hr_user"/> |
| 358 |
</xpath> |
| 359 |
</field> |
| 360 |
</record> |
| 361 |
|
| 362 |
<!-- hr related job position menu action --> |
| 363 |
<record model="ir.actions.act_window" id="action_hr_job_config"> |
| 364 |
<field name="name">Job Positions</field> |
| 365 |
<field name="res_model">hr.job</field> |
| 366 |
<field name="view_mode">list,kanban,form</field> |
| 367 |
<field name="view_ids" eval="[(5, 0, 0), |
| 368 |
(0, 0, {'view_mode': 'list', 'view_id': ref('hr.view_hr_job_tree')}), |
| 369 |
(0, 0, {'view_mode': 'kanban', 'view_id': ref('hr.hr_job_view_kanban')}), |
| 370 |
(0, 0, {'view_mode': 'form', 'view_id': ref('hr.view_hr_job_form')})]"/> |
| 371 |
<field name="context">{'search_default_in_recruitment': 1}</field> |
| 372 |
<field name="help" type="html"> |
| 373 |
<p class="o_view_nocontent_smiling_face"> |
| 374 |
Ready to recruit more efficiently? |
| 375 |
</p> |
| 376 |
<p> |
| 377 |
<a name="%(hr.action_create_job_position)d" class="btn btn-link" type="action"> |
| 378 |
Let's create a job position |
| 379 |
</a> |
| 380 |
</p> |
| 381 |
</field> |
| 382 |
</record> |
| 383 |
|
| 384 |
<record id="hr_job_search_view" model="ir.ui.view"> |
| 385 |
<field name="name">hr.job.search</field> |
| 386 |
<field name="model">hr.job</field> |
| 387 |
<field name="inherit_id" ref="hr_recruitment.view_job_filter_recruitment" /> |
| 388 |
<field name="priority">20</field> |
| 389 |
<field name="arch" type="xml"> |
| 390 |
<xpath expr="//filter[@name='my_favorite_jobs']" position="after"> |
| 391 |
<searchpanel class="w-auto"> |
| 392 |
<field name="company_id" groups="base.group_multi_company" icon="fa-building" enable_counters="1"/> |
| 393 |
<field name="department_id" icon="fa-users" enable_counters="1"/> |
| 394 |
</searchpanel> |
| 395 |
<filter string="My Job Positions" name="my_positions" domain="[('user_id', '=', uid)]"/> |
| 396 |
</xpath> |
| 397 |
</field> |
| 398 |
</record> |
| 399 |
|
| 400 |
<record id="hr_job_view_tree_inherit" model="ir.ui.view"> |
| 401 |
<field name="model">hr.job</field> |
| 402 |
<field name="inherit_id" ref="hr.view_hr_job_tree"/> |
| 403 |
<field name="arch" type="xml"> |
| 404 |
<field name="name" position="after"> |
| 405 |
<field name="department_id"/> |
| 406 |
<field name="open_application_count" string="Open Applications" groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 407 |
<field name="no_of_recruitment"/> |
| 408 |
</field> |
| 409 |
<field name="no_of_employee" position="after"> |
| 410 |
<field name="expected_employees" optional="hide" |
| 411 |
groups="hr_recruitment.group_hr_recruitment_interviewer,hr.group_hr_user"/> |
| 412 |
<field name="no_of_hired_employee" optional="hide" |
| 413 |
groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 414 |
<field name="message_needaction" column_invisible="True"/> |
| 415 |
<field name="company_id" groups="base.group_multi_company" optional="hide"/> |
| 416 |
<field name="company_id" column_invisible="True"/> |
| 417 |
<field name="alias_name" column_invisible="True"/> |
| 418 |
<field name="alias_id" invisible="not alias_name" optional="hide" |
| 419 |
groups="hr_recruitment.group_hr_recruitment_interviewer"/> |
| 420 |
<field name="user_id" widget="many2one_avatar_user" optional="hide" |
| 421 |
groups="hr_recruitment.group_hr_recruitment_interviewer,hr.group_hr_user"/> |
| 422 |
</field> |
| 423 |
<list position="attributes"> |
| 424 |
<attribute name="js_class">recruitment_list_view</attribute> |
| 425 |
</list> |
| 426 |
</field> |
| 427 |
</record> |
| 428 |
|
| 429 |
<!-- hr related job position menu action --> |
| 430 |
<record id="action_load_demo_data" model="ir.actions.server"> |
| 431 |
<field name="name">Load demo data</field> |
| 432 |
<field name="model_id" ref="hr_recruitment.model_hr_job"/> |
| 433 |
<field name="state">code</field> |
| 434 |
<field name="code">action = model._action_load_recruitment_scenario()</field> |
| 435 |
</record> |
| 436 |
|
| 437 |
<record model="ir.actions.act_window" id="action_hr_job"> |
| 438 |
<field name="name">Job Positions</field> |
| 439 |
<field name="path">recruitment</field> |
| 440 |
<field name="res_model">hr.job</field> |
| 441 |
<field name="view_mode">kanban,list,form</field> |
| 442 |
<field name="view_id" ref="hr_recruitment.view_hr_job_kanban"/> |
| 443 |
<field name="view_ids" eval="[(5, 0, 0), |
| 444 |
(0, 0, {'view_mode': 'kanban', 'view_id': ref('hr_recruitment.view_hr_job_kanban')}), |
| 445 |
(0, 0, {'view_mode': 'list', 'view_id': ref('hr_recruitment.hr_job_view_tree_inherit')}), |
| 446 |
(0, 0, {'view_mode': 'form', 'view_id': ref('hr.view_hr_job_form')})]"/> |
| 447 |
<field name="context">{}</field> |
| 448 |
</record> |
| 449 |
|
| 450 |
<!-- Job Positions filtered for interviewers --> |
| 451 |
<record model="ir.actions.act_window" id="action_hr_job_interviewer"> |
| 452 |
<field name="name">Job Positions</field> |
| 453 |
<field name="res_model">hr.job</field> |
| 454 |
<field name="view_mode">kanban,form</field> |
| 455 |
<field name="view_id" ref="hr_recruitment.view_hr_job_kanban"/> |
| 456 |
<field name="context">{'create': False}</field> |
| 457 |
<field name="domain">[ |
| 458 |
'|', |
| 459 |
('interviewer_ids', 'in', uid), |
| 460 |
('extended_interviewer_ids', 'in', uid), |
| 461 |
]</field> |
| 462 |
</record> |
| 463 |
|
| 464 |
<record id="hr_job_platform_form" model="ir.ui.view"> |
| 465 |
<field name="name">hr.job.platform.form</field> |
| 466 |
<field name="model">hr.job.platform</field> |
| 467 |
<field name="arch" type="xml"> |
| 468 |
<form> |
| 469 |
<sheet> |
| 470 |
<group col="2"> |
| 471 |
<group> |
| 472 |
<field name="name" placeholder="e.g. Linkedin"/> |
| 473 |
<field name="regex" placeholder="e.g. ^New application:.*from (.*)"/> |
| 474 |
</group> |
| 475 |
<group> |
| 476 |
<field name="email" placeholder="e.g. [email protected]"/> |
| 477 |
</group> |
| 478 |
</group> |
| 479 |
</sheet> |
| 480 |
</form> |
| 481 |
</field> |
| 482 |
</record> |
| 483 |
|
| 484 |
<record id="hr_job_platform_tree" model="ir.ui.view"> |
| 485 |
<field name="name">hr.job.platform.list</field> |
| 486 |
<field name="model">hr.job.platform</field> |
| 487 |
<field name="arch" type="xml"> |
| 488 |
<list> |
| 489 |
<field name="name"/> |
| 490 |
<field name="email"/> |
| 491 |
<field name="regex"/> |
| 492 |
</list> |
| 493 |
</field> |
| 494 |
</record> |
| 495 |
|
| 496 |
<record model="ir.actions.act_window" id="action_hr_job_platforms"> |
| 497 |
<field name="name">Emails</field> |
| 498 |
<field name="res_model">hr.job.platform</field> |
| 499 |
<field name="view_mode">list,form</field> |
| 500 |
<field name="help" type="html"> |
| 501 |
<p class="o_view_nocontent_empty_folder"> |
| 502 |
No rules have been defined. |
| 503 |
</p> |
| 504 |
<p> |
| 505 |
Create a new rule to process emails from specific job boards. |
| 506 |
</p> |
| 507 |
<p> |
| 508 |
Define a regex: Extract the applicant's name from the email's subject or body. |
| 509 |
</p> |
| 510 |
<p> |
| 511 |
Without a regex: The applicant's name will be the email's subject. |
| 512 |
</p> |
| 513 |
</field> |
| 514 |
</record> |
| 515 |
</odoo> |