Turkesh Patel (openERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam-hr-demo-tpa into 
lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mail-alias-jam-hr-demo-tpa/+merge/112270

[IMP] hr_recruitment:added alias for all demo jobs.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mail-alias-jam-hr-demo-tpa/+merge/112270
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam.
=== modified file 'hr_recruitment/hr_recruitment_demo.yml'
--- hr_recruitment/hr_recruitment_demo.yml	2012-06-25 11:31:33 +0000
+++ hr_recruitment/hr_recruitment_demo.yml	2012-06-27 05:57:30 +0000
@@ -1,12 +1,99 @@
 -
-  !record {model: mail.alias, id: alias_id_1, view: False}:
-    alias_name: '[email protected]'
+  !record {model: mail.alias, id: alias_job_devloper, view: False}:
+    alias_name: '[email protected]'
     alias_model_id: model_hr_applicant
     alias_user_id: base.user_root
     alias_defaults: '{}'
 -
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_devloper')], {"alias_defaults": {'job_id': ref('hr.job_developer')}})
+-
   !record {model: hr.job, id: hr.job_developer, view: False}:
-    alias_id: alias_id_1
+    alias_id: alias_job_devloper
+-
+  !record {model: mail.alias, id: alias_job_ceo, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_ceo')], {'alias_defaults': {'job_id': ref('hr.job_ceo')}})
+-
+  !record {model: hr.job, id: hr.job_ceo, view: False}:
+    alias_id: alias_job_ceo
+-
+  !record {model: mail.alias, id: alias_job_cto, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_cto')], {"alias_defaults": {'job_id': ref('hr.job_cto')}})
+-
+  !record {model: hr.job, id: hr.job_cto, view: False}:
+    alias_id: alias_job_cto
+-
+  !record {model: mail.alias, id: alias_job_hr_manager, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_hr_manager')], {"alias_defaults": {'job_id': ref('hr.job_hr_manager')}})
+-
+  !record {model: hr.job, id: hr.job_hr_manager, view: False}:
+    alias_id: alias_job_hr_manager
+-
+  !record {model: mail.alias, id: alias_job_consultant, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_consultant')], {"alias_defaults": {'job_id': ref('hr.job_consultant')}})
+-
+  !record {model: hr.job, id: hr.job_consultant, view: False}:
+    alias_id: alias_job_consultant
+-
+  !record {model: mail.alias, id: alias_job_hrm, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_hrm')], {"alias_defaults": {'job_id': ref('hr.job_hrm')}})
+-
+  !record {model: hr.job, id: hr.job_hrm, view: False}:
+    alias_id: alias_job_hrm
+-
+  !record {model: mail.alias, id: alias_job_marketing, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_marketing')], {"alias_defaults": {'job_id': ref('hr.job_marketing')}})
+-
+  !record {model: hr.job, id: hr.job_marketing, view: False}:
+    alias_id: alias_job_marketing
+-
+  !record {model: mail.alias, id: alias_job_trainee, view: False}:
+    alias_name: '[email protected]'
+    alias_model_id: model_hr_applicant
+    alias_user_id: base.user_root
+    alias_defaults: '{}'
+-
+  !python {model: mail.alias}: |
+    self.write(cr, uid, [ref('alias_job_trainee')], {"alias_defaults": {'job_id': ref('hr.job_trainee')}})
+-
+  !record {model: hr.job, id: hr.job_trainee, view: False}:
+    alias_id: alias_job_trainee
 -
   !record {model: hr.applicant, id: hr_case_salesman0}:
     date: !eval time.strftime('%Y-%m-01 10:35:50')

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to