OdooWiki OCA HUB

Assets - Compute Depre. in Batch

account_asset_compute_batch folder_open OCA/account-financial-tools open_in_new
Accounting & Finance License: AGPL-3

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

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Create depreciation batches for assets and track each computation run in one record. You can compute all asset profiles at once, see the depreciation amount per profile, and optionally delay the accounting posting.

This module adds a new "Compute Asset Batch" screen under the Assets menu. Instead of computing asset depreciation one asset at a time, you create a batch record that groups the run.

On the batch you set a name, a description, a date (all depreciation lines before that date are computed), and the asset profiles to include; if you leave profiles empty, all profiles are used. A Compute button runs the calculation and the status moves from Draft to Computed, or to Exception if errors occur, in which case the error text is shown on an Exception tab.

Each batch shows a "Depreciation By Profile" report with the amount per asset profile and a total depreciation amount. Two buttons open the related Journal Entries and the depreciation journal items.

When you use the standard asset compute wizard, you can tick "Create Batch" to track the run, give it a name and description, choose profiles, and optionally delay the computation. You can also delay posting: the created journal entries are set to post automatically at a later date instead of being posted immediately.

A daily scheduled job automatically computes draft batches that have auto-compute enabled and a date up to today. Only draft batches can be deleted, batch names must be unique, and batches are filtered by company.

Menus it adds

account_asset_compute_batch_menu
Models and fields (5)
  • account.move · extends an existing model
  • account.move.line · extends an existing modelcompute_batch_id
  • account.asset.compute · extends an existing modeluse_batch (Create Batch), batch_name, description, profile_ids (Profiles), delay_compute (Delay Compute Asset)
  • account.asset.compute.batch · new modelname, note (Exception Error), state, date_end (Date), company_id, delay_post (Delay Posting), currency_id, description, profile_ids (Profiles), auto_compute, depre_amount (Depreciation Amount), move_line_ids, profile_report
  • account.asset.compute.batch.profile.report · new modelamount, profile_id (Asset Profile), currency_id, compute_batch_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/account-financial-tools.

terminal Installation and usage

OCA documentation · Odoo 18.0

There are 2 ways to create "Compute Asset Batch"

  • On the Compute Assets wizards, choose "Create Batch" option, 1.1 Type in batch name and description. 1.2 Select asset profiles, to limit only some profiles to get computed. 1.3 Option to "Delay Compute Asset", will only create Batch record for user to execute it later.
  • Create Compute Asset Batch directly 2.1 Select date for depreciation 2.2 Type in batch name and descripton 2.3 Select asset profiles, to limit only some profiles to get computed. 2.4 Option to "Auto Compute" if you want to compute this batch by cron job. 2.4 Option to "Delay Post" if you want to post journal entry by cron job. 2.5 Click "Compute" button to compute asset.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.