TMS - Accounting

tms_account
REPOSITORY
REPOSITORYOCA/stock-logistics-transport
GIT
GIThttps://github.com/OCA/stock-logistics-transport.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-transport/tree/17.0/tms_account
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYField Service
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSoca-ci, EdgarRetes
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-transport
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_usability
OCA/stock-logistics-transport:
    - tms
    - tms_sale
    - tms_product
    - tms_expense
    - tms_purchase
odoo/odoo:
    - base
    - uom
    - fleet
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_geolocalize
    - stock
    - product
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - sale_management
    - sale
    - sales_team
    - account_payment
    - account
    - onboarding
    - analytic
    - payment
    - utm
    - hr_expense
    - hr
    - phone_validation
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits analytic.account_analytic_plan_form_view
account_invoice_form tms.order.invoice.form account.move div Inherits account.view_move_form
res_config_settings_view_form res.config.settings.view.form.inherit.tms res.config.settings xpath Inherits tms.res_config_settings_view_form
tms_order_report_view_graph_inherit tms.order.report.view.graph.inherit tms.order xpath Inherits tms.tms_order_report_view_graph
tms_order_view_pivot_inherit tms.order.view.pivot.inherit tms.order xpath 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 xpath Inherits tms.tms_route_view_tree
view_tms_order_form_inherit_account tms.order xpath Inherits tms.tms_order_view_form
view_tms_route_form tms.route.view.form.inherit.tms.account tms.route xpath Inherits tms.view_tms_route_form
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)
    @api.model

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
    args: 'account.analytic.plan'
  • tms_analytic_plan_domain Char
    compute='_compute_tms_analytic_plan_domain' default='[]' readonly=False store=True
Public methods (2)
  • get_values(self)
    @api.model
  • set_values(self)

New fields (0)

No new fields.

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

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)
    @api.model
  • write(self, vals)
    @api.model

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
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-transport
PULL REQUEST
PULL REQUEST[19.0][MIG] tms_account: Migration to 19.0 (#228)