Repository
OCA/stock-logistics-transport · module folder · Try on Runboat
Module version
Category
TMS
Folder size
0.1 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-transport
Last tracking update
2026-08-12 23:26:23
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
tms_purchase, tms_sale
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 (8)
XML IDNameModelTypeStatus
fleet_vehicle_search_view fleet.vehicle.search.inherit.tms.product fleet.vehicle search Inherits fleet.fleet_vehicle_view_search
fleet_vehicle_view_form fleet.vehicle.form.inherit.tms.product fleet.vehicle form Inherits fleet.fleet_vehicle_view_form
product_template_form_view product.template.common.form.inherit.tms.product product.template form Inherits product.product_template_form_view
product_template_search_view_tms product.template.search.inherit.tms.product product.template search Inherits product.product_template_search_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 form Inherits stock.view_picking_form
view_production_lot_form stock.production.lot.form.inherit.tms.product stock.lot form Inherits stock.view_production_lot_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…