Repository
OCA/stock-logistics-transport · module folder · Try on Runboat
Module version
1.0.0
Category
TMS
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-transport
Last tracking update
2026-08-07 08:23:02
Authors
Odoo Community Association (OCA), Open Source Integrators
Maintainers
Odoo Community Association (OCA), Open Source Integrators
Committers
OCA-git-bot, oca-ci, EdgarRetes
Odoo dependencies
OCA/account-financial-tools:
OCA/reporting-engine:
OCA/stock-logistics-transport:
- tms
odoo/odoo:
- uom
- web
- bus
Python dependencies
python-dateutil, xlrd, xlsxwriter
System dependencies
None
Required by
None
Description
The module TMS - Account Asset manages the creation of assets for vehicles. This module provides the feature of creating
vehicle assets to manage their depreciation.

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
account_asset_profile_view_form account.asset.profile.view.form.inherit.tms.account.asset account.asset.profile form Inherits account_asset_management.account_asset_profile_view_form
account_asset_view_form account.asset.inherit.tms.account.asset.form account.asset form Inherits account_asset_management.account_asset_view_form
account_asset_view_search account.asset.inherit.tms.account.asset.search account.asset search Inherits account_asset_management.account_asset_view_search
fleet_vehicle_model_category_view_form fleet.vehicle.model.category.form.inherit.tms.account.asset fleet.vehicle.model.category form Inherits fleet.fleet_vehicle_model_category_view_form
fleet_vehicle_model_category_view_tree fleet.vehicle.model.category.tree.inherit.tms.account.asset fleet.vehicle.model.category tree Inherits fleet.fleet_vehicle_model_category_view_tree
fleet_vehicle_view_form fleet.vehicle.inherit.tms.account.asset.view.form fleet.vehicle form Inherits fleet.fleet_vehicle_view_form
fleet_vehicle_view_search fleet.vehicle.inherit.tms.account.asset.view.search fleet.vehicle search Inherits fleet.fleet_vehicle_view_search
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (4)
  • asset_ids One2many → fleet.vehicle
    args: 'fleet.vehicle', 'asset_id'
  • is_vehicle Boolean
    related='profile_id.is_vehicle'
  • model_id Many2one → fleet.vehicle.model
    help='If not a vehicle assigned to this asset, change the model to create a vehicle of the selected model' args: 'fleet.vehicle.model'
  • vehicle_id Many2one → fleet.vehicle
    ondelete='cascade' store=True args: 'fleet.vehicle'
Public methods (2)
  • action_view_vehicle(self)
  • create(self, vals_list)
    @api.model

New fields (1)
  • is_vehicle Boolean
    help='By marking this, if an asset with this profile is created, a vehicle will be created automatically' string='Is a TMS vehicle'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • actual_value Monetary
    related='asset_id.value_residual'
  • asset_id Many2one → account.asset
    string='Asset' args: 'account.asset'
  • asset_profile_id Many2one
    related='model_id.category_id.asset_profile_id'
Public methods (2)
  • action_view_asset(self)
  • create(self, vals_list)
    @api.model

New fields (1)
  • asset_profile_id Many2one → account.asset.profile
    args: 'account.asset.profile'
Public methods (0)

No public methods.