summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorHardik Prajapati <hap@odoo.com>2019-08-20 04:33:59 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-30 11:09:21 +0000
commit2581076a09bce29b1d91961223cc3d572d876978 (patch)
treeab7064956b4c7bcdb0363667481c13bce889f637 /addons/website/static/src/xml/website.contentMenu.xml
parent7ff683a7e1d852f59594cd353424ec6e66d4662c (diff)
[IMP] survey: do not set a question type on question being section
This commit header is quite fun. If a question is not a question it should not have a type. Maybe it should not be a question but, hey, you don't always do what you want. That's life my dear Lucette. In this commit we remove required attribute from python field definition of question_type and make it required conditional based. Real questions have a type, unreal questions have no type. Alss update Questions menu entry to display only real questions, not unreal questions. Most of this commit message makes no sense, but remember who asked to push this model. Task 2053833 closes odoo/odoo#35835 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Hardik K Prajapati <hap@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions