[IMP] hr_recruitment: add menu to configure activity types
Purpose is to ease HR recruitment people in their daily job organization by allowing to tune activity types. A menu is added in configuration to access activity types. Those are by default associated to the applicant models.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
'views/hr_recruitment_templates.xml',
|
||||
'views/hr_department_views.xml',
|
||||
'views/hr_job_views.xml',
|
||||
'views/mail_activity_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
'data/hr_recruitment_demo.xml',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<!-- Activity types config -->
|
||||
<record id="mail_activity_type_action_config_hr_applicant" model="ir.actions.act_window">
|
||||
<field name="name">Activity Types</field>
|
||||
<field name="res_model">mail.activity.type</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">['|', ('res_model_id', '=', False), ('res_model_id.model', '=', 'hr.applicant')]</field>
|
||||
</record>
|
||||
<menuitem id="hr_recruitment_menu_config_activity_type"
|
||||
action="mail_activity_type_action_config_hr_applicant"
|
||||
parent="menu_hr_recruitment_configuration"/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user