TMS - Account Assets

tms_account_asset
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_asset
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-git-bot, oca-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_asset_management
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/stock-logistics-transport:
    - tms
    - tms_product
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
    - account
    - onboarding
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits account_asset_management.account_asset_profile_view_form
account_asset_view_form account.asset.inherit.tms.account.asset.form account.asset xpath Inherits account_asset_management.account_asset_view_form
account_asset_view_search account.asset.inherit.tms.account.asset.search account.asset xpath 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 xpath 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 xpath Inherits fleet.fleet_vehicle_model_category_view_tree
fleet_vehicle_view_form fleet.vehicle.inherit.tms.account.asset.view.form fleet.vehicle xpath Inherits fleet.fleet_vehicle_view_form
fleet_vehicle_view_search fleet.vehicle.inherit.tms.account.asset.view.search fleet.vehicle xpath Inherits fleet.fleet_vehicle_view_search
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.