Skip to content
Snippets Groups Projects
user avatar
Adrian Torres authored
Before this commit:
    * Install `survey` module
    * Create a survey
    * In the survey options, set "Login required" to True
    * Try to print the survey or test survey > review survey
    -> Crash, request object does not have a website attribute

With this commit, we move the check for request.website.user_id into the
website_survey module by overriding a private helper method that is
called in the main method that handles the print survey route, this
means that the printing works with both survey and website_survey
installed.

Fixes #37224

closes odoo/odoo#37333

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
e51b04ef
History

Build Status Tech Doc Help Nightly Builds

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, Purchase Management, ...

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.

Then follow the developer tutorials