[IMP] hr_recruitment, project: better access rules for categories
[odoo/odoo.git] / addons / hr_recruitment / hr_recruitment_data.xml
index 4a3b999..d90f5ab 100644 (file)
@@ -1,31 +1,20 @@
 <?xml version="1.0"?>
 <openerp>
-<!--
 <data noupdate="1">
--->
-<data>
+        <!-- notify all employees of module installation -->
+        <function model="mail.group" name="message_append_note">
+            <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
+            <value eval="[ref('mail.group_all_employees')]"/>
+            <value>Module Recruitment Process has been installed</value>
+            <value>Manage job positions and the recruitment process in your company.  This module is integrated with the module Survey to help you to define interviews for different jobs.
 
-        <record id="outgoing_test" model="ir.mail_server">
-            <field name="smtp_host">smtp.openerp.com</field>
-            <field name="name">smtp.openerp.com</field>
-            <field name="smtp_encryption">starttls</field>
-            <field name="smtp_port">2525</field>
-            <field name="smtp_user">tde</field>
-            <field name="sequence">9</field>
-        </record>
+You can automatically create application records from an email gateway, that you can configure in the Human Resources Settings.</value>
+        </function>
 
-
-        <record id="fetchmail_hr_applicant_test" model="fetchmail.server">
-            <field name="object_id" ref="hr_recruitment.model_hr_applicant"/>
-            <field name="attach" eval="True"/>
-            <field name="original" eval="False"/>
-            <field name="server">imap.openerp.com</field>
-            <field name="name">imap.openerp.com</field>
-            <field name="user">tde</field>
-            <field name="is_ssl">True</field>
-            <field name="port">993</field>
-            <field name="type">imap</field>
-        </record>
+    <!-- Meeting Types (for interview meetings) -->
+    <record model="crm.meeting.type" id="categ_meet_interview">
+        <field name="name">Interview</field>
+    </record>
 
         <!--    HR Recruitment Source        -->
 
         <field name="question_id" ref="survey_question_job_1"/>
         <field eval="13" name="sequence"/>
     </record>
+   
+    <record id="mail_alias_jobs" model="mail.alias">
+        <field name="alias_name">jobs</field>
+        <field name="alias_model_id" ref="model_hr_applicant"/>
+        <field name="alias_user_id" ref="base.user_root"/>
+    </record>
+    
 </data>
 </openerp>