diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 6ef301c5f96..10b5da80861 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -561,7 +561,7 @@ class hr_job(osv.osv): action['context'] = str({'search_default_job_id': [job.id], 'default_job_id': job.id, 'default_user_id': job.user_id.id}) return action - def open_attachments(self, cr, uid, ids, context): + def open_attachments(self, cr, uid, ids, context=None): #open attachments of job and related applicantions. model, action_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'base','action_attachment') action = self.pool.get(model).read(cr, uid, action_id, context=context) diff --git a/addons/hr_recruitment/static/src/css/Makefile b/addons/hr_recruitment/static/src/css/Makefile new file mode 100644 index 00000000000..3b99d5c5523 --- /dev/null +++ b/addons/hr_recruitment/static/src/css/Makefile @@ -0,0 +1,2 @@ +job_position.css: job_position.sass + sass --trace -t expanded job_position.sass job_position.css