Repository
OCA/field-service · module folder · Try on Runboat
Module version
1.0.0
Category
Field Service
Folder size
0.2 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, Vang - Nguyen Phu
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
fieldservice_sale_agreement, fieldservice_sale_recurring, fieldservice_sale_stock
Description
The module integrates the Field Service application with the Sales one
and allows you to sell products that generate field service orders.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
fsm_location_form_view fsm.location.form fsm.location form Inherits fieldservice.fsm_location_form_view
view_fsm_order_form_inherit_sale fsm.order form Inherits fieldservice.fsm_order_form
view_order_form_inherit_sale_fieldservice sale.order.form.sale.fieldservice sale.order form Inherits sale.view_order_form
view_product_fieldservice_form product.template.fieldservice.form product.template form Inherits product.product_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • sale_id Many2one → sale.order
    args: 'sale.order'
  • sale_line_id Many2one → sale.order.line
    args: 'sale.order.line'
Public methods (1)
  • action_view_sales(self)

New fields (3)
  • field_service_tracking Selection
    default='no' help='Determines what happens upon sale order confirmation:\n - None: nothing additional, default behavior.\n - Per Sale Order: One FSM Order will be created for the sale.\n - Per Sale Order Line: One FSM Order for each sale order line\n will be created.' args: [('no', "Don't create FSM order"), ('sale', 'Create one FSM order per sale order'), ('line', 'Create one FSM order per sale order line')]
  • fsm_order_template_id Many2one → fsm.template
    help='Select the field service order template to be created' args: 'fsm.template', 'Field Service Order Template'
  • service_type Selection
    ondelete={'field': 'cascade'} selection_add=[('field', 'Field Service Orders')]
Public methods (0)

No public methods.

New fields (3)
  • fsm_location_id Many2one → fsm.location
    compute='_compute_fsm_location_id' help='SO Lines generating a FSM order will be for this location' precompute=True readonly=False store=True string='Service Location' args: 'fsm.location'
  • fsm_order_count Integer
    compute='_compute_fsm_order_ids' string='FSM Orders'
  • fsm_order_ids Many2many → fsm.order
    compute='_compute_fsm_order_ids' string='Field Service orders associated to this sale' args: 'fsm.order'
Public methods (2)
  • action_view_fsm_order(self)
  • write(self, values)

New fields (2)
  • fsm_order_id Many2one → fsm.order
    copy=False help='Field Service Order generated by the sales order item' index=True args: 'fsm.order', 'Order'
  • qty_delivered_method Selection
    ondelete={'field_service': 'cascade'} selection_add=[('field_service', 'Field Service Order')]
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…