Repository
OCA/stock-logistics-transport · module folder · Try on Runboat
Module version
Category
Field Service
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-transport
Last tracking update
2026-08-18 17:42:13
Authors
Odoo Community Association (OCA), Open Source Integrators
Maintainers
Odoo Community Association (OCA), Open Source Integrators
Committers
Maxime Chambreuil, Weblate, OCA-git-bot, oca-ci, Volkan TAŞCI
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
The TMS - Accounting manages the accounting processes for the TMS modules. This module enables features such as purchase
orders invoicing, sale order invoicing and analytic accounting.

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
account_analytic_plan_form_view account.analytic.plan.form.inherit.tms.account account.analytic.plan form Inherits analytic.account_analytic_plan_form_view
account_invoice_form tms.order.invoice.form account.move form Inherits account.view_move_form
res_config_settings_view_form res.config.settings.view.form.inherit.tms res.config.settings form Inherits tms.res_config_settings_view_form
tms_order_report_view_graph_inherit tms.order.report.view.graph.inherit tms.order graph Inherits tms.tms_order_report_view_graph
tms_order_view_pivot_inherit tms.order.view.pivot.inherit tms.order pivot Inherits tms.tms_order_view_pivot
tms_route_report_view_graph tms.route.report.view.graph tms.route graph New
tms_route_view_pivot tms.route.view.pivot tms.route pivot New
tms_route_view_tree tms.route.view.tree.inherit.tms.account tms.route tree Inherits tms.tms_route_view_list
view_tms_order_form_inherit_account tms.order form Inherits tms.tms_order_view_form
view_tms_route_form tms.route.view.form.inherit.tms.account tms.route form Inherits tms.view_tms_route_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (12)

New fields (2)
  • route_id One2many → tms.route
    copy=False args: 'tms.route', 'analytic_account_id'
  • trip_id One2many → tms.order
    copy=False args: 'tms.order', 'analytic_account_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

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

New fields (1)
  • tms_flag Boolean
    help='This plan is used as a default in the Transport application.\n ' readonly=True string='Used for Transports?'
Public methods (0)

No public methods.

New fields (1)
  • has_tms_order Boolean
    compute='_compute_has_trip' readonly=True
Public methods (1)
  • action_view_tms_orders(self)

New fields (2)
  • tms_factor Float
  • tms_factor_uom Char
    readonly=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • group_tms_order_analytic_plan Boolean
    compute='_compute_tms_analytic_groups' implied_group='tms_account.group_tms_order_analytic_plan'
  • group_tms_route_analytic_plan Boolean
    compute='_compute_tms_analytic_groups' implied_group='tms_account.group_tms_route_analytic_plan'
  • tms_analytic_plan Many2many → account.analytic.plan
    groups='analytic.group_analytic_accounting' args: 'account.analytic.plan'
  • tms_analytic_plan_domain Char
    compute='_compute_tms_analytic_plan_domain' default='[]' readonly=False store=True
Public methods (4)
  • default_get(self, fields_list)
    @api.model
  • get_values(self)
    @api.model
  • set_values(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • analytic_account_id Many2one → account.analytic.account
    copy=False args: 'account.analytic.account'
  • bill_count Integer
    compute='_compute_get_invoiced' copy=False readonly=True
  • create_invoice Boolean
    string='Create invoices and bills when completed?'
  • invoice_count Integer
    compute='_compute_get_invoiced' copy=False readonly=True
  • total_expenses Float
    default=0 groups='analytic.group_analytic_accounting' readonly=True
  • total_income Float
    default=0 groups='analytic.group_analytic_accounting' readonly=True
  • total_revenue Float
    compute='_compute_total_revenue' default=0 groups='analytic.group_analytic_accounting' readonly=True store=True
Public methods (5)
  • action_view_analytic_account(self)
  • action_view_bills(self)
  • action_view_invoices(self)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (5)
  • analytic_account_id Many2one → account.analytic.account
    copy=False domain=[('plan_id', '=', '%(tms_account.tms_route_analytic_plan)d')] args: 'account.analytic.account'
  • analytic_plan_id Many2one → account.analytic.plan
    args: 'account.analytic.plan'
  • total_expenses Float
    default=0 groups='analytic.group_analytic_accounting' readonly=True
  • total_income Float
    default=0 groups='analytic.group_analytic_accounting' readonly=True
  • total_revenue Float
    compute='_compute_total_revenue' default=0 groups='analytic.group_analytic_accounting' readonly=True store=True
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

Loading…