Survey Percent Question

survey_percent_question
REPOSITORY
REPOSITORYOCA/survey
GIT
GIThttps://github.com/OCA/survey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/survey/tree/9.0/survey_percent_question
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYMarketing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Onestein, Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - survey
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - website
    - web_editor
    - web_planner
    - marketing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
page page ir.ui.view qweb Inherits survey.page
question_percent_split Percent Split ir.ui.view qweb New
result_percent_split Percent Split Result ir.ui.view qweb New
survey_print survey_print ir.ui.view qweb Inherits survey.survey_print
survey_question_form Survey Form +Percent question survey.question xpath Inherits survey.survey_question_form
survey_result survey_result ir.ui.view qweb Inherits survey.result
Models touched (3)

New fields (1)
  • type Selection
    selection_add=[('percent_split', _('Percentage'))]
Public methods (1)
  • validate_percent_split(self, question, post, answer_tag)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • prepare_result(self, question, current_filters=None)
    @api.model
    Compute statistical data for questions by counting number of vote per choice on basis of filter

New fields (0)

No new fields.

Public methods (2)
  • get_old_lines(self, user_input_id, question)
    @api.model
    Returns the old input lines
  • save_line_percent_split(self, user_input_id, question, post, answer_tag)
    @api.model
REPOSITORY
REPOSITORYOCA/survey
GIT
GIThttps://github.com/OCA/survey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/survey/tree/8.0/survey_percent_question
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYMarketing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE), OCA Transbot, Vincent Vinet, Agathe Mollé, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - survey
    - email_template
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - website
    - share
    - marketing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
page page ir.ui.view qweb Inherits survey.page
question_percent_split Percent Split ir.ui.view qweb New
result_percent_split Percent Split Result ir.ui.view qweb New
survey_print survey_print ir.ui.view qweb Inherits survey.survey_print
survey_question_form Survey Form +Percent question survey.question xpath Inherits survey.survey_question_form
survey_result survey_result ir.ui.view qweb Inherits survey.result
Models touched (3)

New fields (1)
  • type Selection
    selection_add=[('percent_split', _('Percentage'))]
Public methods (1)
  • validate_percent_split(self, question, post, answer_tag)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • prepare_result(self, question, current_filters=None)
    @api.model
    Compute statistical data for questions by counting number of vote per choice on basis of filter

New fields (0)

No new fields.

Public methods (2)
  • get_old_lines(self, user_input_id, question)
    @api.model
    Returns the old input lines
  • save_line_percent_split(self, user_input_id, question, post, answer_tag)
    @api.model