Assets - Compute Depre. in Batch

account_asset_compute_batch
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/18.0/account_asset_compute_batch
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_asset_management
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extend existing "Compute Asset" feature by allowing to
create an Compute Asset Batch (record) to track the computation.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_asset_compute_view_form account.asset.compute account.asset.compute group 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
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.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/15.0/account_asset_compute_batch
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_asset_management
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_asset_compute_view_form account.asset.compute account.asset.compute group 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_tree account.asset.compute.batch.tree account.asset.compute.batch tree New
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

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" readonly=True states={'draft': [('readonly', False)]}
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> readonly=True string='Company'
  • 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' readonly=True required=True states={'draft': [('readonly', False)]} string='Date'
  • delay_post Boolean
    help='Dalay account posting of newly created journaly entries, by setting auto_post=True, to be posted by cron job' readonly=True states={'draft': [('readonly', False)]} string='Delay Posting'
  • depre_amount Monetary
    compute='_compute_depre_amount' string='Depreciation Amount'
  • description Char
    readonly=True required=True states={'draft': [('readonly', False)]}
  • move_line_ids One2many → account.move.line
    comodel_name='account.move.line' inverse_name='compute_batch_id' readonly=True
  • name Char
    readonly=True required=True states={'draft': [('readonly', False)]}
  • 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.' readonly=True states={'draft': [('readonly', False)]} 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.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/14.0/account_asset_compute_batch
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, sergiocorato, oca-ci, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_asset_management
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_asset_compute_view_form account.asset.compute account.asset.compute group 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_tree account.asset.compute.batch.tree account.asset.compute.batch tree New
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • batch_name Char
    help='If batch name is specified, computation will be tracked by a batch' string='Batch Name'
  • delay_compute Boolean
    string='Delay Compute Asset'
  • description Char
    string='Description'
  • 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" readonly=True states={'draft': [('readonly', False)]} string='Auto Compute'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> readonly=True string='Company'
  • 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' readonly=True required=True states={'draft': [('readonly', False)]} string='Date'
  • delay_post Boolean
    help='Dalay account posting of newly created journaly entries, by setting auto_post=True, to be posted by cron job' readonly=True states={'draft': [('readonly', False)]} string='Delay Posting'
  • depre_amount Monetary
    compute='_compute_depre_amount' string='Depreciation Amount'
  • description Char
    readonly=True required=True states={'draft': [('readonly', False)]} string='Description'
  • move_line_ids One2many → account.move.line
    comodel_name='account.move.line' inverse_name='compute_batch_id' readonly=True
  • name Char
    readonly=True required=True states={'draft': [('readonly', False)]} string='Name'
  • 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.' readonly=True states={'draft': [('readonly', False)]} 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 string='Amount'
  • 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.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-financial-tools
PULL REQUEST
PULL REQUEST[19.0][MIG] account_asset_compute_batch: Migration to 19.0 (#2300)