59aa5f7c0ef42e67343b260e5324d53ef900816d
How to reproduce issue ----------------------- - Create a survey with more than one question - Layout: One page per question - Complete a first survey - Start a second survey but don't finish it - Click on see result - Click on the answer of the uncompleted answer you got a traceback 'NoneType' object has no attribute 'id' Node: <t t-set="page_number" t-value="page_ids.index(question.id)"/> Why this is happening ? ----------------------- question is define in survey_page_print template inside a foreach. The scope of question thus is limited to this foreach. Solution -------- Declare question before the foreach in a t-set closes odoo/odoo#80648 X-original-commit: d80ec72696010d668047c8fb1d9665f6aa1b2ee6 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.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%