Repository
OCA/field-service · module folder · Try on Runboat
Module version
1.0.0
Category
Field Service
Folder size
0.4 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/field-service
Last tracking update
2026-08-07 09:06:25
Authors
Odoo Community Association (OCA), Gray Matter Logic
Maintainers
Odoo Community Association (OCA), Gray Matter Logic
Committers
Maxime Chambreuil, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
A Field Service Activity gives the user the ability to define a list of
tasks/activities on a service order

The user can add tasks/activities to the FSM order to the ones created
from the template.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_fsm_order_form_add_activity fsm.order.form.activity fsm.order activity Inherits fieldservice.fsm_order_form
view_fsm_template_form_add_activity fsm.template.form.activity fsm.template activity Inherits fieldservice.fsm_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (10)
  • completed Boolean
    default=False
  • completed_by Many2one → res.users
    readonly=True args: 'res.users'
  • completed_on Datetime
    readonly=True
  • fsm_order_id Many2one → fsm.order
    args: 'fsm.order', 'FSM Order'
  • fsm_template_id Many2one → fsm.template
    args: 'fsm.template', 'FSM Template'
  • name Char
    readonly=True required=True
  • ref Char
    readonly=True args: 'Reference'
  • required Boolean
    default=False readonly=True
  • sequence Integer
  • state Selection
    default='todo' readonly=True args: [('todo', 'To Do'), ('done', 'Completed'), ('cancel', 'Cancelled')]
Public methods (2)
  • action_cancel(self)
  • action_done(self)

New fields (1)
  • order_activity_ids One2many → fsm.activity
    compute='_compute_order_activity_ids' store=True args: 'fsm.activity', 'fsm_order_id', 'Order Activities'
Public methods (2)
  • action_complete(self)
  • create(self, vals)
    @api.model_create_multi
    Update Activities for FSM orders that are generate from SO

New fields (1)
  • temp_activity_ids One2many → fsm.activity
    args: 'fsm.activity', 'fsm_template_id', 'Activities'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…