Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 35 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 3 migration notes 6 models 6 views 1 HTTP endpoint

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
fsm_order_form_view fsm.order.form (in fieldservice_survey) fsm.order form Inherits fieldservice.fsm_order_form
fsm_order_survey_submit_view_form fsm.order.survey.submit.view.form fsm.order.survey.submit form New
fsm_survey_button_form_view fsm_survey_button_form_view ir.ui.view qweb Inherits survey.survey_button_form_view
res_config_settings_view_employee_form res.config.settings.view.form.inherit.fieldservice.survey res.config.settings form Inherits fieldservice.res_config_settings_view_form
survey_user_input_form_view survey.user_input.form (in fieldservice_survey) survey.user_input form Inherits survey.survey_user_input_view_form
survey_view_form survey.survey.view.form survey.survey form Inherits survey.survey_form

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/fsm_order/<int:fsm_order_id>/results FsmOrderSurveySurvey.survey_results user http ALL sudo website

Models touched 6

New fields (1)
  • partner_submitted_answer_survey_ids Many2many → res.partner
    string='Submitted Survey' args: 'res.partner'
Public methods (2)
  • action_open_survey_inputs(self)
  • action_submit_fsm_order_survey(self)

New fields (11)
  • attachment_ids Many2many → ir.attachment
    string='Attachments' args: 'ir.attachment', 'fsm_order_survey_mail_compose_message_ir_attachments_rel', 'wizard_id', 'attachment_id'
  • author_id Many2one → res.partner
    default=<expr> help='Author of the message.' required=True string='Author' args: 'res.partner'
  • body Html
    compute='_compute_body' readonly=False sanitize_style=True store=True args: 'Contents'
  • deadline Date
    default=<expr> required=True string='Answer Deadline'
  • email_from Char
    default=<expr> help='Email address of the sender' required=True args: 'From'
  • fsm_order_id Many2one → fsm.order
    default=<expr> string='Survey Field Service Order' args: 'fsm.order'
  • fsm_order_person_id Many2one
    related='fsm_order_id.person_id' string='Survey Person'
  • recipient_ids Many2many → res.partner
    compute='_compute_recipients' readonly=False store=True string='Recipients' args: 'res.partner'
  • subject Char
    compute='_compute_subject' readonly=False store=True args: 'Subject'
  • survey_template_id Many2one → survey.survey
    args: 'survey.survey'
  • template_id Many2one → mail.template
    default=<expr> domain="[('model', '=', 'fsm.order.survey.submit')]" index=True args: 'mail.template', 'Use template'
Public methods (2)
  • action_send(self)
    Action for sending the survey email.
  • default_get(self, fields_list)
    @api.model
    Override default_get to add custom defaults.

New fields (1)
  • fsm_order_survey_template_id Many2one → survey.survey
    args: 'survey.survey'
Public methods (0)

No public methods.

New fields (2)
  • fsm_order_survey_template_id Many2one → survey.survey
    readonly=False related='company_id.fsm_order_survey_template_id' args: 'survey.survey'
  • module_fieldservice_survey Boolean
    string='Field Service Survey'
Public methods (0)

No public methods.

New fields (1)
  • is_fsm_order_survey Boolean
    help='Check this option to restrict the answers to survey managers only.' string='FSM Order Survey Managers Only'
Public methods (0)

No public methods.

New fields (2)
  • fsm_order_id Many2one → fsm.order
    string='FSM Order' args: 'fsm.order'
  • fsm_order_person_id Many2one → fsm.person
    args: 'fsm.person', 'FSM Order Person '
Public methods (0)

No public methods.