Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 18 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.15 MB
Module directory on disk
Code analysis 1 migration note 6 models 4 views 0 HTTP endpoints

Description

This module extend existing "Compute Asset" feature by allowing to create an Compute Asset Batch (record) to track the computation.

Dependencies

Odoo dependencies
OCA/account-financial-tools:
OCA/reporting-engine:
odoo/odoo:
- web
- bus
- uom
Python dependencies
python-dateutil
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
account_asset_compute_view_form account.asset.compute account.asset.compute form Inherits account_asset_management.account_asset_compute_view_form
search_account_asset_compute_batch_filter search.account.asset.compute.batch.filter account.asset.compute.batch search New
view_account_asset_compute_batch_form account.asset.compute.batch.form account.asset.compute.batch form New
view_account_asset_compute_batch_list account.asset.compute.batch.list account.asset.compute.batch list New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (5)
  • batch_name Char
    help='If batch name is specified, computation will be tracked by a batch'
  • delay_compute Boolean
    string='Delay Compute Asset'
  • description Char
  • profile_ids Many2many → account.asset.profile
    comodel_name='account.asset.profile' string='Profiles'
  • use_batch Boolean
    help='Use batch opton' string='Create Batch'
Public methods (1)
  • asset_compute(self)

New fields (13)
  • auto_compute Boolean
    help="Auto compute draft batches with 'Date' up to today, by cron job"
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr>
  • currency_id Many2one → res.currency
    comodel_name='res.currency' default=<expr>
  • date_end Date
    default=fields.Date.today help='All depreciation lines prior to this date will be computed' string='Date'
  • delay_post Boolean
    help="Dalay account posting of newly created journaly entries, by setting auto_post='at_date', to be posted by cron job" string='Delay Posting'
  • depre_amount Monetary
    compute='_compute_depre_amount' string='Depreciation Amount'
  • description Char
  • move_line_ids One2many → account.move.line
    comodel_name='account.move.line' inverse_name='compute_batch_id' readonly=True
  • name Char
  • note Text
    string='Exception Error'
  • profile_ids Many2many → account.asset.profile
    comodel_name='account.asset.profile' help='Selected asset to run depreciation. Run all profiles if left blank.' string='Profiles'
  • profile_report One2many → account.asset.compute.batch.profile.report
    comodel_name='account.asset.compute.batch.profile.report' inverse_name='compute_batch_id'
  • state Selection
    default='draft' index=True readonly=True required=True selection=[('draft', 'Draft'), ('computed', 'Computed'), ('exception', 'Exception')] tracking=True
Public methods (4)
  • action_compute(self)
  • open_move_lines(self)
  • open_moves(self)
  • unlink(self)

New fields (4)
  • amount Monetary
    readonly=True
  • compute_batch_id Many2one → account.asset.compute.batch
    comodel_name='account.asset.compute.batch' readonly=True
  • currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=True
  • profile_id Many2one → account.asset.profile
    comodel_name='account.asset.profile' readonly=True string='Asset Profile'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_post(self)

New fields (1)
  • compute_batch_id Many2one → account.asset.compute.batch
    comodel_name='account.asset.compute.batch' index=True ondelete='set null' readonly=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…