Repository
OCA/fleet · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/fleet
Last tracking update
2026-08-07 07:47:45
Authors
Odoo Community Association (OCA), Escodoo
Maintainers
Odoo Community Association (OCA), Escodoo
Committers
Weblate, OCA-git-bot, oca-ci, Marcel Savegnago
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds fields to manage the weight and volume capacity in the vehicle model. It is also designed to be easily expandable, allowing the addition of other vehicle-specific capacities in the future as needed.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
fleet_vehicle_form_view fleet.vehicle form Inherits fleet.fleet_vehicle_view_form
fleet_vehicle_model_form_view fleet.vehicle.model form Inherits fleet.fleet_vehicle_model_view_form
fleet_vehicle_model_tree_view fleet.vehicle.model tree Inherits fleet.fleet_vehicle_model_view_tree
res_config_settings_form_view res.config.settings form Inherits fleet.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (7)
  • passenger_capacity Float
    help='The maximum passenger capacity the vehicle can support.' related='model_id.passenger_capacity' string='Passenger Capacity'
  • passenger_uom_id Many2one
    related='model_id.passenger_uom_id' string='Passenger Capacity UOM'
  • vehicle_weight Float
    help='The weight of the vehicle.' related='model_id.vehicle_weight' string='Vehicle Weight'
  • volume_capacity Float
    help='The maximum volume capacity the vehicle can support.' related='model_id.volume_capacity' string='Volume Capacity'
  • volume_uom_id Many2one
    related='model_id.volume_uom_id' string='Volume Capacity UOM'
  • weight_capacity Float
    help='The maximum weight capacity the vehicle can support.' related='model_id.weight_capacity' string='Weight Capacity'
  • weight_uom_id Many2one
    related='model_id.weight_uom_id' string='Weight and Capacity UOM'
Public methods (0)

No public methods.

New fields (7)
  • passenger_capacity Float
    help='The maximum passenger capacity the vehicle can support.' string='Passenger Capacity'
  • passenger_uom_id Many2one → uom.uom
    default=<expr> domain=<expr> string='Passenger Capacity UOM' args: 'uom.uom'
  • vehicle_weight Float
    help='The weight of the vehicle.' string='Vehicle Weight'
  • volume_capacity Float
    help='The maximum volume capacity the vehicle can support.' string='Volume Capacity'
  • volume_uom_id Many2one → uom.uom
    default=<expr> domain=<expr> string='Volume Capacity UOM' args: 'uom.uom'
  • weight_capacity Float
    help='The maximum weight capacity the vehicle can support.' string='Weight Capacity'
  • weight_uom_id Many2one → uom.uom
    default=<expr> domain=<expr> string='Weight and Capacity UOM' args: 'uom.uom'
Public methods (0)

No public methods.

New fields (3)
  • vehicle_passenger_uom_id Many2one → uom.uom
    config_parameter='fleet.default_vehicle_passenger_uom_id' default=<expr> default_model='res.config.settings' domain=<expr> help='Default Unit of measure for vehicle passenger capacity.' string='Default Vehicle Passenger Capacity UOM' args: 'uom.uom'
  • vehicle_volume_uom_id Many2one → uom.uom
    config_parameter='fleet.default_vehicle_volume_uom_id' default=<expr> default_model='res.config.settings' domain=<expr> help='Default Unit of measure for vehicle volume capacity.' string='Default Vehicle Volume Capacity UOM' args: 'uom.uom'
  • vehicle_weight_uom_id Many2one → uom.uom
    config_parameter='fleet.default_vehicle_weight_uom_id' default=<expr> default_model='res.config.settings' domain=<expr> help='Default Unit of measure for vehicle weight and capacity.' string='Default Vehicle Weight and Capacity UOM' args: 'uom.uom'
Public methods (0)

No public methods.