I am using the website_hr_recruitment module, and trying to expose the /jobs page using an iframe on a different webpage (https://my.jobs.com, in this example).
However, when I click the Apply button (for example on /jobs/apply/15) I am redirected to an HTTP link, which then throws the following error:
Mixed Content: The page at 'https://my.jobs.com/' was loaded over HTTPS, but requested an insecure resource 'http://hidden.backend.com/jobs/apply/my-job-15'. This request has been blocked; the content must be served over HTTPS.
My first question is: is it possible to configure Odoo to do this redirect using HTTPS.
And my second question: where exactly is my job ID (15) converted to the slug+ID in the URL? My question relates to the following line of code:
|
@http.route('/jobs/apply/<model("hr.job"):job>', type='http', auth="public", website=True) |
Thank you!
I am using the website_hr_recruitment module, and trying to expose the /jobs page using an iframe on a different webpage (https://my.jobs.com, in this example).
However, when I click the Apply button (for example on /jobs/apply/15) I am redirected to an HTTP link, which then throws the following error:
Mixed Content: The page at 'https://my.jobs.com/' was loaded over HTTPS, but requested an insecure resource 'http://hidden.backend.com/jobs/apply/my-job-15'. This request has been blocked; the content must be served over HTTPS.My first question is: is it possible to configure Odoo to do this redirect using HTTPS.
And my second question: where exactly is my job ID (15) converted to the slug+ID in the URL? My question relates to the following line of code:
odoo/addons/website_hr_recruitment/controllers/main.py
Line 80 in 2abc658
Thank you!