fd5c6a861cae4be5498f9bc5bb3ce9300bd3a003
Install website and website_hr_recruitment, open /web with ?debug=1, go to website > configuration > redirect, create a temporary (302) redirection from `/jobs/detail/experienced-developer-4` to `/404`. Open the `/jobs/detail/experienced-developer-4` as admin and unpublish the page. Open the same URL via private browsing (so that you are not connected), you get the default 403 - Forbidden page, you were not redirected to the 404 - Not Found page. Custom 301 (permanent) and 302 (temporary) redirections are fallback redirections when the requested page does not exist or is not accessible to the current user. The HTTPocalypse broke the later case, it was not checking for existing redirection upon access error. The use case is the one supported with [1] where people want/need to display something better than a 403 when they unpublish a record like a job position for instance (most of the requested cases on opw). Indeed: - People have link to that record/job everywhere on the internet - The job position / record is no more relevant, and people need to unpublish it - People don't want to delete it (or can't sometimes due to record relations) - People don't want visitors to land on a 403, mainly because it is a non customizable advanced/technical page (it displays a technical message including the record name etc) - Their need is to either land a their customizable friendly 404 or sometimes on another record to promote it. [1]: https://github.com/odoo/odoo/commit/3b9cd536607b1631dd375ab2e5cc94eb814a6e9b closes odoo/odoo#93981 X-original-commit: eb7eecec976570ae3301c17a04adc9c110d5b14a Signed-off-by: Romain Derie (rde) <rde@odoo.com> Signed-off-by: Julien Castiaux <juc@odoo.com> Co-authored-by: Romain Derie <rde@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%