TMS - Product

tms_product
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/19.0/tms_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTMS
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
COMMITTERSMaxime Chambreuil, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-transport
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-transport:
    - tms
odoo/odoo:
    - base
    - uom
    - fleet
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - base_geolocalize
    - stock
    - product
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The TMS Product module allows the management of vehicles and transportable products in the inventory. this module
provides features such as storing fleet vehicles as products in the inventory, vehicle receipts, creating products
marked as trip services, and defining the cargo type and capacity for each vehicle.

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
fleet_vehicle_search_view fleet.vehicle.search.inherit.tms.product fleet.vehicle field Inherits fleet.fleet_vehicle_view_search
fleet_vehicle_view_form fleet.vehicle.form.inherit.tms.product fleet.vehicle xpath Inherits fleet.fleet_vehicle_view_form
product_template_form_view product.template.common.form.inherit.tms.product product.template xpath Inherits product.product_template_form_view
transportable_product_form_view transportable.product.form.view transportable.product form New
transportable_product_tree_view transportable.product.tree.view transportable.product list New
view_picking_form stock.picking.form.inherit.tms.product stock.picking xpath Inherits stock.view_picking_form
view_production_lot_form stock.production.lot.form.inherit.tms.product stock.lot xpath Inherits stock.view_production_lot_form
Models touched (6)

New fields (5)
  • cargo_type Selection
    compute='_compute_cargo_type' readonly=False store=True args: [('volume', 'Volume'), ('products', 'Products')]
  • lot_id Many2one → stock.lot
    readonly=True string='Serial #' args: 'stock.lot'
  • product_id Many2one → product.product
    readonly=True args: 'product.product'
  • stock_picking_id Many2one → stock.picking
    args: 'stock.picking'
  • transportable_product_ids One2many → transportable.product
    args: 'transportable.product', 'vehicle_id'
Public methods (0)

No public methods.

New fields (8)
  • model_id Many2one → fleet.vehicle.model
    compute='_compute_restore_vehicle_fields' readonly=False store=True string='Model' args: 'fleet.vehicle.model'
  • tms_factor_distance_uom Many2one → uom.uom
    compute='_compute_restore_transport_line_fields' domain=<expr> readonly=False store=True string='Distance Unit of Measure' args: 'uom.uom'
  • tms_factor_type Selection
    compute='_compute_restore_transport_line_fields' default='distance' help='Determines how the trip will be invoiced to the customer:\n - Distance: By the amount of distance traveled\n - Weight: By the amount of weight transported' readonly=False store=True args: [('distance', 'Distance'), ('weight', 'Weight')]
  • tms_factor_weight_uom Many2one → uom.uom
    compute='_compute_restore_transport_line_fields' domain=<expr> readonly=False store=True string='Weight Unit of Measure' args: 'uom.uom'
  • tms_trip Boolean
    compute='_compute_restore_transport_fields' readonly=False store=True string='Is a trip service'
  • tms_vehicle Boolean
    compute='_compute_restore_transport_fields' readonly=False store=True string='Is a Vehicle'
  • trip_product_type Selection
    compute='_compute_restore_transport_line_fields' default='trip' help='Determines if the product is sold as a trip or as a passenger seat' readonly=False store=True args: [('trip', 'New trip'), ('seat', 'Seat')]
  • vehicle_type Selection
    compute='_compute_restore_vehicle_fields' readonly=False selection='_compute_vehicle_type_selection' store=True
Public methods (0)

No public methods.

New fields (1)
  • vehicle_id Many2one → fleet.vehicle
    readonly=True args: 'fleet.vehicle'
Public methods (1)
  • action_view_vehicle(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • tms_vehicle_count Integer
    compute='_compute_tms_vehicle_count'
  • tms_vehicle_ids One2many → fleet.vehicle
    args: 'fleet.vehicle', 'stock_picking_id'
Public methods (1)
  • action_view_tms_vehicle(self)

New fields (6)
  • capacity Float
  • measure_type Selection
    string='Measure by:' args: [('unit', 'Unit'), ('volume', 'Volume')]
  • product_id Many2one → product.product
    args: 'product.product'
  • unit_uom Many2one → uom.uom
    domain=<expr> args: 'uom.uom'
  • vehicle_id Many2one → fleet.vehicle
    args: 'fleet.vehicle'
  • volume_uom Many2one → uom.uom
    domain=<expr> args: 'uom.uom'
Public methods (0)

No public methods.

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_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTMS
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/stock-logistics-transport:
    - tms
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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The TMS Product module allows the management of vehicles and transportable products in the inventory. this module
provides features such as storing fleet vehicles as products in the inventory, vehicle receipts, creating products
marked as trip services, and defining the cargo type and capacity for each vehicle.

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
fleet_vehicle_search_view fleet.vehicle.search.inherit.tms.product fleet.vehicle field Inherits fleet.fleet_vehicle_view_search
fleet_vehicle_view_form fleet.vehicle.form.inherit.tms.product fleet.vehicle xpath Inherits fleet.fleet_vehicle_view_form
product_template_form_view product.template.common.form.inherit.tms.product product.template xpath Inherits product.product_template_form_view
transportable_product_form_view transportable.product.form.view transportable.product form New
transportable_product_tree_view transportable.product.tree.view transportable.product tree New
view_picking_form stock.picking.form.inherit.tms.product stock.picking xpath Inherits stock.view_picking_form
view_production_lot_form stock.production.lot.form.inherit.tms.product stock.lot xpath Inherits stock.view_production_lot_form
Models touched (6)

New fields (5)
  • cargo_type Selection
    compute='_compute_cargo_type' readonly=False store=True args: [('volume', 'Volume'), ('products', 'Products')]
  • lot_id Many2one → stock.lot
    readonly=True string='Serial #' args: 'stock.lot'
  • product_id Many2one → product.product
    readonly=True args: 'product.product'
  • stock_picking_id Many2one → stock.picking
    args: 'stock.picking'
  • transportable_product_ids One2many → transportable.product
    args: 'transportable.product', 'vehicle_id'
Public methods (0)

No public methods.

New fields (8)
  • model_id Many2one → fleet.vehicle.model
    compute='_compute_restore_vehicle_fields' readonly=False store=True string='Model' args: 'fleet.vehicle.model'
  • tms_factor_distance_uom Many2one → uom.uom
    compute='_compute_restore_transport_line_fields' domain=<expr> readonly=False store=True string='Distance Unit of Measure' args: 'uom.uom'
  • tms_factor_type Selection
    compute='_compute_restore_transport_line_fields' default='distance' help='Determines how the trip will be invoiced to the customer:\n - Distance: By the amount of distance traveled\n - Weight: By the amount of weight transported' readonly=False store=True args: [('distance', 'Distance'), ('weight', 'Weight')]
  • tms_factor_weight_uom Many2one → uom.uom
    compute='_compute_restore_transport_line_fields' domain=<expr> readonly=False store=True string='Weight Unit of Measure' args: 'uom.uom'
  • tms_trip Boolean
    compute='_compute_restore_transport_fields' readonly=False store=True string='Is a trip service'
  • tms_vehicle Boolean
    compute='_compute_restore_transport_fields' readonly=False store=True string='Is a Vehicle'
  • trip_product_type Selection
    compute='_compute_restore_transport_line_fields' default='trip' help='Determines if the product is sold as a trip or as a passenger seat' readonly=False store=True args: [('trip', 'New trip'), ('seat', 'Seat')]
  • vehicle_type Selection
    compute='_compute_restore_vehicle_fields' readonly=False selection='_compute_vehicle_type_selection' store=True
Public methods (0)

No public methods.

New fields (1)
  • vehicle_id Many2one → fleet.vehicle
    readonly=True args: 'fleet.vehicle'
Public methods (1)
  • action_view_vehicle(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • tms_vehicle_count Integer
    compute='_compute_tms_vehicle_count'
  • tms_vehicle_ids One2many → fleet.vehicle
    args: 'fleet.vehicle', 'stock_picking_id'
Public methods (1)
  • action_view_tms_vehicle(self)

New fields (6)
  • capacity Float
  • measure_type Selection
    string='Measure by:' args: [('unit', 'Unit'), ('volume', 'Volume')]
  • product_id Many2one → product.product
    args: 'product.product'
  • unit_uom Many2one → uom.uom
    domain=<expr> args: 'uom.uom'
  • vehicle_id Many2one → fleet.vehicle
    args: 'fleet.vehicle'
  • volume_uom Many2one → uom.uom
    domain=<expr> args: 'uom.uom'
Public methods (0)

No public methods.