Repository
OCA/field-service · module folder · Try on Runboat
Module version
1.0.0
Category
Field Service
Folder size
0.09 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), Brian McMaster
Maintainers
Odoo Community Association (OCA), Brian McMaster
Committers
OCA-git-bot, oca-ci, linto-antony
Odoo dependencies
OCA/field-service:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
Some field service operations may need to track the size of a field
service location and its orders.

Examples of sizes might be:
- Area measure of a location
- Count of service or maintenance items at a location

Once established, sizes can be useful for route capacity planning, time
estimation for orders, or for planning stock and inventory moves.

This module allows you to establish sizes for your field service orders.
Multiple sizes can be configured and established for a location. Order
size will be updated based on its location and order type.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
fsm_location_form_view_inherit_size fsm.location.size.form fsm.location form Inherits fieldservice.fsm_location_form_view
fsm_size_form_view fsm.size.form fsm.size form New
fsm_size_list_view fsm.size.list fsm.size list New
view_fsm_order_form_inherit_size fsm.order form Inherits fieldservice.fsm_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • location_size_ids One2many → fsm.location.size
    string='Location Sizes' args: 'fsm.location.size', 'location_id'
Public methods (0)

No public methods.

New fields (5)
  • location_id Many2one → fsm.location
    index=True required=True string='Location' args: 'fsm.location'
  • quantity Float
    required=True
  • size_id Many2one → fsm.size
    index=True required=True args: 'fsm.size'
  • type_id Many2one → fsm.order.type
    index=True related='size_id.type_id' args: 'fsm.order.type'
  • uom_id Many2one → uom.uom
    index=True related='size_id.uom_id' args: 'uom.uom'
Public methods (0)

No public methods.

New fields (4)
  • size_id Many2one → fsm.size
    compute='_compute_size_id' precompute=True readonly=False store=True args: 'fsm.size'
  • size_relative_uom_id Many2one
    related='size_id.uom_id.relative_uom_id' string='Reference Unit'
  • size_uom Many2one → uom.uom
    compute='_compute_size_uom' domain="[('relative_uom_id', '=?', size_relative_uom_id)]" precompute=True readonly=False store=True string='Unit of Measure' args: 'uom.uom'
  • size_value Float
    compute='_compute_size_value' precompute=True readonly=False store=True string='Order Size'
Public methods (0)

No public methods.

New fields (5)
  • is_order_size Boolean
    help='The default size for orders of this type' string='Is the Order Size?'
  • name Char
    required=True
  • parent_id Many2one → fsm.size
    index=True string='Parent Size' args: 'fsm.size'
  • type_id Many2one → fsm.order.type
    string='Order Type' args: 'fsm.order.type'
  • uom_id Many2one → uom.uom
    string='Unit of Measure' args: 'uom.uom'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…