Field Service - Analytic Accounting
fieldservice_account_analytic · OCA/field-service
-
Security22/251 minor finding
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE "fsm_location" SET customer_id = owner_id WHERE customer_id IS NULL;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
fsm_order_idMany2one → fsm.orderstring='FSM Order' args: 'fsm.order' -
product_idMany2one → product.productstring='Time Type' args: 'product.product'
-
create(self, vals_list)@api.model_create_multi -
onchange_product_id(self)@api.onchange('product_id')
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
-
analytic_account_idMany2one → account.analytic.accountcompany_dependent=Truestring='Analytic Account' args: 'account.analytic.account' -
customer_idMany2one → res.partnerauto_join=Truedefault=get_default_customerondelete='restrict'required=Truestring='Billed Customer'tracking=True args: 'res.partner'
-
get_default_customer(self)@api.model
-
bill_toSelectiondefault='location'required=True args: [('location', 'Bill Location'), ('contact', 'Bill Contact')] -
customer_idMany2one → res.partnerchange_default=Trueindex='btree'string='Contact'tracking=True args: 'res.partner' -
total_costFloatcompute='_compute_total_cost'
-
write(self, vals)
No new fields.
Public methods (0)No public methods.
-
fsm_filter_location_by_contactBooleanstring='Filter Contacts with Location'
No public methods.
-
fsm_filter_location_by_contactBooleanreadonly=Falserelated='company_id.fsm_filter_location_by_contact'string='Filter Contacts with Location'
No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…