Repository
OCA/field-service · module folder · Try on Runboat
Module version
1.1.0
Category
Field Service
Folder size
0.1 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/field-service
Last tracking update
2026-08-07 08:22:59
Authors
Odoo Community Association (OCA), Open Source Integrators
Maintainers
Odoo Community Association (OCA), Open Source Integrators
Committers
Iván Todorovich, Weblate, OCA-git-bot, oca-ci, Antoni Marroig Campomar
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds the ability to track your analytic accounts on field
service orders. It also adds the option to track the billing partner for
field service locations and orders.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
fsm_location_form_view_analytic fsm.location.form.accounting fsm.location form Inherits fieldservice.fsm_location_form_view
fsm_location_search_view_analytic fsm.location.search fsm.location search Inherits fieldservice.fsm_location_search_view
fsm_location_tree_view_analytic fsm.location.tree.accounting fsm.location tree Inherits fieldservice.fsm_location_tree_view
fsm_order_calendar_view Orders fsm.order calendar Inherits fieldservice.fsm_order_calendar_view
fsm_order_form_analytic fsm.order.form.account fsm.order form Inherits fieldservice.fsm_order_form
fsm_order_kanban_view fsm.order.kanban fsm.order kanban Inherits fieldservice.fsm_order_kanban_view
fsm_order_tree_view fsm.order.tree fsm.order tree Inherits fieldservice.fsm_order_tree_view
report_fsm_order_document_account report_fsm_order_document_account ir.ui.view qweb Inherits fieldservice.report_fsm_order_document
res_config_settings_view_form_filter res.config.settings.view.form.fsm.filter res.config.settings form Inherits fieldservice.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (2)
  • fsm_order_id Many2one → fsm.order
    string='FSM Order' args: 'fsm.order'
  • product_id Many2one → product.product
    string='Time Type' args: 'product.product'
Public methods (2)
  • create(self, vals)
    @api.model
  • onchange_product_id(self)
    @api.onchange('product_id')

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (2)
  • analytic_account_id Many2one → account.analytic.account
    company_dependent=True string='Analytic Account' args: 'account.analytic.account'
  • customer_id Many2one → res.partner
    auto_join=True default=get_default_customer ondelete='restrict' required=True string='Billed Customer' tracking=True args: 'res.partner'
Public methods (1)
  • get_default_customer(self)
    @api.model

New fields (3)
  • bill_to Selection
    default='location' required=True args: [('location', 'Bill Location'), ('contact', 'Bill Contact')]
  • customer_id Many2one → res.partner
    change_default=True index='btree' string='Contact' tracking=True args: 'res.partner'
  • total_cost Float
    compute='_compute_total_cost'
Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • fsm_filter_location_by_contact Boolean
    string='Filter Contacts with Location'
Public methods (0)

No public methods.

New fields (1)
  • fsm_filter_location_by_contact Boolean
    readonly=False related='company_id.fsm_filter_location_by_contact' string='Filter Contacts with Location'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
29 days ago
Last activity
22 days ago
Repository
OCA/field-service
Pull request
[18.0][MIG] fieldservice_account_analytic (#1578)