[ADD] Added make file and pass context=none in open attachment method

bzr revid: cod@tinyerp.com-20131226054138-hxtmkgwaaci06xaa
This commit is contained in:
Chirag Dodiya (OpenERP)
2013-12-26 11:11:38 +05:30
parent 76e52da448
commit 9833e17040
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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)
@@ -0,0 +1,2 @@
job_position.css: job_position.sass
sass --trace -t expanded job_position.sass job_position.css