[MERGE] hr_recurtiment: merge psi branch (lp:~openerp-commiter/openobject-addons...
[odoo/odoo.git] / addons / hr_recruitment / report / hr_recruitment_report.py
index f59ea41..c7b8164 100644 (file)
@@ -18,7 +18,6 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 ##############################################################################
-
 import tools
 from osv import fields,osv
 from hr_recruitment import hr_recruitment
@@ -38,7 +37,8 @@ class hr_recruitment_report(osv.osv):
         'date': fields.date('Date', readonly=True),
         'date_closed': fields.date('Closed', readonly=True),
         'job_id': fields.many2one('hr.job', 'Applied Job',readonly=True),
-        'stage_id': fields.many2one ('crm.case.stage', 'Stage', domain="[('section_id','=',section_id),('object_id.model', '=', 'hr.applicant')]",readonly=True),
+        'stage_id': fields.many2one ('hr.recruitment.stage', 'Stage'),
+#        'stage_id': fields.many2one ('crm.case.stage', 'Stage', domain="[('section_id','=',section_id),('object_id.model', '=', 'hr.applicant')]",readonly=True),
         'type_id': fields.many2one('crm.case.resource.type', 'Degree', domain="[('section_id','=',section_id),('object_id.model', '=', 'hr.applicant')]"),
         'department_id':fields.many2one('hr.department','Department',readonly=True),
         'priority': fields.selection(hr_recruitment.AVAILABLE_PRIORITIES, 'Appreciation'),
@@ -90,3 +90,4 @@ class hr_recruitment_report(osv.osv):
         """)
 hr_recruitment_report()
 
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file