[FIX] Removed param default value (fix sitemap)

bzr revid: ddm@openerp.com-20131204135549-qc5xtpx826bqb2ud
This commit is contained in:
ddm 2013-12-04 14:55:49 +01:00
parent d19c722da3
commit 67599578b6
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@
element: 'button[data-action=snippet]',
placement: 'bottom',
title: "Layout Your Blog Post",
content: "Use well designed building blocks to structure the content of your blog.",
content: "Use well designed building blocks to structure the content of your blog. Click 'Insert Blocks' to add new content.",
triggers: function () {
$('button[data-action=snippet]').one('click', function () {
self.moveToNextStep();

View File

@ -39,7 +39,7 @@ class website_hr_recruitment(http.Controller):
'jobs': jobs,
'departments': departments,
'offices': offices,
'active': department and department.id or None,
'active': department and department.id or None,
'office': office and office.id or None
})
@ -81,7 +81,7 @@ class website_hr_recruitment(http.Controller):
return request.website.render("website_hr_recruitment.thankyou", {})
@website.route(['/job/apply'], type='http', auth="public", multilang=True)
def applyjobpost(self, job=None):
def applyjobpost(self, job):
[job_object] = request.registry['hr.job'].browse(
request.cr, request.uid, [int(job)], context=request.context)