TIP: You can type at any time to perform a new search.
Assets Management
account_asset · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Accounting
- Folder size
- 2.88 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.odoo.com/page/accounting
- Last tracking update
- 2026-08-07 05:03:19
- Authors
- Maintainers
- None
- Committers
- Xavier Morel, Olivier Dony, Christophe Simonis, Thibault Delavallée, Martin Trigaux, Odoo Translation Bot, Denis Ledoux, Goffin Simon, David Monjoie, Nicolas Martinelli, Jérome Maes, qdp-odoo, Aaron Bohy, GitHub, Lucas Perais (lpe), Yannick Tivisse, Martin Geubelle, Odoo Online, De Paoli Quentin, len-odoo, Fanny He
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_analytic_asset, account_asset_disposal, l10n_es_account_asset
- Description
Assets management ================= Manage assets owned by a company or a person. Keeps track of depreciations, and creates corresponding journal entries.
Code Analysis ⓘ
Views touched (18)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
action_account_asset_report_graph |
asset.asset.report.graph | asset.asset.report | graph | New |
action_account_asset_report_pivot |
asset.asset.report.pivot | asset.asset.report | pivot | New |
asset_modify_form |
wizard.asset.modify.form | asset.modify | form | New |
assets_backend |
account assets | ir.ui.view | qweb | Inherits web.assets_backend |
qunit_suite |
account_asset_tests | ir.ui.view | qweb | Inherits web.qunit_suite |
res_config_settings_view_form |
res.config.settings.view.form.inherit.account.asset | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_account_asset_asset_category_kanban |
account.asset.category.kanban | account.asset.category | kanban | New |
view_account_asset_asset_form |
account.asset.asset.form | account.asset.asset | form | New |
view_account_asset_asset_kanban |
account.asset.asset.kanban | account.asset.asset | kanban | New |
view_account_asset_asset_purchase_tree |
account.asset.asset.purchase.tree | account.asset.asset | tree | New |
view_account_asset_category_form |
account.asset.category.form | account.asset.category | form | New |
view_account_asset_category_search |
account.asset.category.search | account.asset.category | search | New |
view_account_asset_category_tree |
account.asset.category.tree | account.asset.category | tree | New |
view_account_asset_search |
account.asset.asset.search | account.asset.asset | search | New |
view_asset_asset_report_search |
asset.asset.report.search | asset.asset.report | search | New |
view_asset_depreciation_confirmation_wizard |
asset.depreciation.confirmation.wizard | asset.depreciation.confirmation.wizard | form | New |
view_invoice_asset_category |
account.invoice.supplier.form | account.invoice | form | Inherits account.invoice_supplier_form |
view_product_template_form_inherit |
Product Template (form) | product.template | form | Inherits account.product_template_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (10)
New fields (24)
-
activeBooleandefault=True -
category_idMany2one → account.asset.categorychange_default=Truereadonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Category' args: 'account.asset.category' -
codeCharreadonly=Truesize=32states={'draft': [('readonly', False)]}string='Reference' -
company_idMany2one → res.companydefault=<expr>readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Company' args: 'res.company' -
currency_idMany2one → res.currencydefault=<expr>readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Currency' args: 'res.currency' -
dateDatedefault=fields.Date.context_todayoldname='purchase_date'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Date' -
depreciation_line_idsOne2many → account.asset.depreciation.linereadonly=Truestates={'draft': [('readonly', False)], 'open': [('readonly', False)]}string='Depreciation Lines' args: 'account.asset.depreciation.line', 'asset_id' -
entry_countIntegercompute='_entry_count'string='# Asset Entries' -
invoice_idMany2one → account.invoicecopy=Falsestates={'draft': [('readonly', False)]}string='Invoice' args: 'account.invoice' -
methodSelectiondefault='linear'help='Choose the method to use to compute the amount of depreciation lines.\n * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n * Degressive: Calculated on basis of: Residual Value * Degressive Factor'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Computation Method' args: [('linear', 'Linear'), ('degressive', 'Degressive')] -
method_endDatereadonly=Truestates={'draft': [('readonly', False)]}string='Ending Date' -
method_numberIntegerdefault=5help='The number of depreciations needed to depreciate your asset'readonly=Truestates={'draft': [('readonly', False)]}string='Number of Depreciations' -
method_periodIntegerdefault=12help='The amount of time between two depreciations, in months'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Number of Months in a Period' -
method_progress_factorFloatdefault=0.3readonly=Truestates={'draft': [('readonly', False)]}string='Degressive Factor' -
method_timeSelectiondefault='number'help="Choose the method to use to compute the dates and number of entries.\n * Number of Entries: Fix the number of entries and the time between 2 depreciations.\n * Ending Date: Choose the time between 2 depreciations and the date the depreciations won't go beyond."readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Time Method' args: [('number', 'Number of Entries'), ('end', 'Ending Date')] -
nameCharreadonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Asset Name' -
noteText -
partner_idMany2one → res.partnerreadonly=Truestates={'draft': [('readonly', False)]}string='Partner' args: 'res.partner' -
prorataBooleanhelp='Indicates that the first depreciation entry for this asset have to be done from the purchase date instead of the first January / Start date of fiscal year'readonly=Truestates={'draft': [('readonly', False)]}string='Prorata Temporis' -
salvage_valueFloatdigits=0help='It is the amount you plan to have that you cannot depreciate.'readonly=Truestates={'draft': [('readonly', False)]}string='Salvage Value' -
stateSelectioncopy=Falsedefault='draft'help="When an asset is created, the status is 'Draft'.\nIf the asset is confirmed, the status goes in 'Running' and the depreciation lines can be posted in the accounting.\nYou can manually close an asset when the depreciation is over. If the last line of depreciation is posted, the asset automatically goes in that status."required=True args: [('draft', 'Draft'), ('open', 'Running'), ('close', 'Close')], 'Status' -
typeSelectionrelated='category_id.type'required=Truestring='Type' -
valueFloatdigits=0oldname='purchase_value'readonly=Truerequired=Truestates={'draft': [('readonly', False)]}string='Gross Value' -
value_residualFloatcompute='_amount_residual'digits=0method=Truestring='Residual Value'
-
compute_depreciation_board(self)@api.multi -
compute_generated_entries(self, date, asset_type=None)@api.model -
copy_data(self, default=None)@api.multi -
create(self, vals)@api.model -
onchange_category_id(self)@api.onchange('category_id') -
onchange_category_id_values(self, category_id) -
onchange_company_id(self)@api.onchange('company_id') -
onchange_method_time(self)@api.onchange('method_time') -
open_entries(self)@api.multi -
set_to_close(self)@api.multi -
set_to_draft(self)@api.multi -
unlink(self)@api.multi -
validate(self)@api.multi -
write(self, vals)@api.multi
New fields (18)
-
account_analytic_idMany2one → account.analytic.accountstring='Analytic Account' args: 'account.analytic.account' -
account_asset_idMany2one → account.accountdomain=[('internal_type', '=', 'other'), ('deprecated', '=', False)]help='Account used to record the purchase of the asset at its original price.'required=Truestring='Asset Account' args: 'account.account' -
account_depreciation_expense_idMany2one → account.accountdomain=[('internal_type', '=', 'other'), ('deprecated', '=', False)]help='Account used in the periodical entries, to record a part of the asset as expense.'oldname='account_income_recognition_id'required=Truestring='Depreciation Entries: Expense Account' args: 'account.account' -
account_depreciation_idMany2one → account.accountdomain=[('internal_type', '=', 'other'), ('deprecated', '=', False)]help='Account used in the depreciation entries, to decrease the asset value.'required=Truestring='Depreciation Entries: Asset Account' args: 'account.account' -
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
group_entriesBooleanhelp='Check this if you want to group the generated entries by categories.'string='Group Journal Entries' -
journal_idMany2one → account.journalrequired=Truestring='Journal' args: 'account.journal' -
methodSelectiondefault='linear'help='Choose the method to use to compute the amount of depreciation lines.\n * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n * Degressive: Calculated on basis of: Residual Value * Degressive Factor'required=Truestring='Computation Method' args: [('linear', 'Linear'), ('degressive', 'Degressive')] -
method_endDateargs: 'Ending date' -
method_numberIntegerdefault=5help='The number of depreciations needed to depreciate your asset'string='Number of Depreciations' -
method_periodIntegerdefault=1help='State here the time between 2 depreciations, in months'required=Truestring='Period Length' -
method_progress_factorFloatdefault=0.3 args: 'Degressive Factor' -
method_timeSelectiondefault='number'help="Choose the method to use to compute the dates and number of entries.\n * Number of Entries: Fix the number of entries and the time between 2 depreciations.\n * Ending Date: Choose the time between 2 depreciations and the date the depreciations won't go beyond."required=Truestring='Time Method' args: [('number', 'Number of Entries'), ('end', 'Ending Date')] -
nameCharindex=Truerequired=Truestring='Asset Type' -
open_assetBooleanhelp='Check this if you want to automatically confirm the assets of this category when created by invoices.'string='Auto-confirm Assets' -
prorataBooleanhelp='Indicates that the first depreciation entry for this asset have to be done from the purchase date instead of the first of January'string='Prorata Temporis' -
typeSelectiondefault='purchase'index=Truerequired=True args: [('sale', 'Sale: Revenue Recognition'), ('purchase', 'Purchase: Asset')]
-
onchange_account_asset(self)@api.onchange('account_asset_id') -
onchange_type(self)@api.onchange('type')
New fields (11)
-
amountFloatdigits=0required=Truestring='Current Depreciation' -
asset_idMany2one → account.asset.assetondelete='cascade'required=Truestring='Asset' args: 'account.asset.asset' -
depreciated_valueFloatrequired=Truestring='Cumulative Depreciation' -
depreciation_dateDateindex=True args: 'Depreciation Date' -
move_checkBooleancompute='_get_move_check'store=Truestring='Linked'track_visibility='always' -
move_idMany2one → account.movestring='Depreciation Entry' args: 'account.move' -
move_posted_checkBooleancompute='_get_move_posted_check'store=Truestring='Posted'track_visibility='always' -
nameCharindex=Truerequired=Truestring='Depreciation Name' -
parent_stateSelectionrelated='asset_id.state'string='State of Asset' -
remaining_valueFloatdigits=0required=Truestring='Next Period Depreciation' -
sequenceIntegerrequired=True
-
create_grouped_move(self, post_move=True)@api.multi -
create_move(self, post_move=True)@api.multi -
log_message_when_posted(self)@api.multi -
post_lines_and_close_asset(self)@api.multi -
unlink(self)@api.multi
New fields (0)
No new fields.
Public methods (2)-
action_cancel(self)@api.multi -
action_move_create(self)@api.multi
New fields (4)
-
asset_category_idMany2one → account.asset.categorystring='Asset Category' args: 'account.asset.category' -
asset_end_dateDatecompute='_get_asset_date'readonly=Truestore=Truestring='Asset End Date' -
asset_mrrFloatcompute='_get_asset_date'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Monthly Recurring Revenue' -
asset_start_dateDatecompute='_get_asset_date'readonly=Truestore=Truestring='Asset Start Date'
-
asset_create(self)@api.one -
get_invoice_line_account(self, type, product, fpos, company) -
onchange_asset_category_id(self)@api.onchange('asset_category_id')
New fields (1)
-
asset_depreciation_idsOne2many → account.asset.depreciation.lineondelete='restrict'string='Assets Depreciation Lines' args: 'account.asset.depreciation.line', 'move_id'
-
button_cancel(self)@api.multi -
post(self)@api.multi
New fields (16)
-
asset_category_idMany2one → account.asset.categoryreadonly=Truestring='Asset category' args: 'account.asset.category' -
asset_idMany2one → account.asset.assetreadonly=Truestring='Asset' args: 'account.asset.asset' -
company_idMany2one → res.companyreadonly=Truestring='Company' args: 'res.company' -
dateDatereadonly=True -
depreciation_dateDatereadonly=Truestring='Depreciation Date' -
depreciation_nbrIntegerreadonly=Truestring='# of Depreciation Lines' -
depreciation_valueFloatreadonly=Truestring='Amount of Depreciation Lines' -
gross_valueFloatreadonly=Truestring='Gross Amount' -
installment_nbrIntegerreadonly=Truestring='# of Installment Lines' -
installment_valueFloatreadonly=Truestring='Amount of Installment Lines' -
move_checkBooleanreadonly=Truestring='Posted' -
nameCharreadonly=Truerequired=Falsestring='Year' -
partner_idMany2one → res.partnerreadonly=Truestring='Partner' args: 'res.partner' -
posted_valueFloatreadonly=Truestring='Posted Amount' -
stateSelectionreadonly=Truestring='Status' args: [('draft', 'Draft'), ('open', 'Running'), ('close', 'Close')] -
unposted_valueFloatreadonly=Truestring='Unposted Amount'
-
init(self)@api.model_cr
New fields (1)
-
dateDatedefault=fields.Date.context_todayhelp='Choose the period for which you want to automatically post the depreciation lines of running assets'required=True args: 'Account Date'
-
asset_compute(self)@api.multi
New fields (5)
-
asset_method_timeCharcompute='_get_asset_method_time'readonly=Truestring='Asset Method Time' -
method_endDatestring='Ending date' -
method_numberIntegerrequired=Truestring='Number of Depreciations' -
method_periodIntegerstring='Period Length' -
nameTextrequired=Truestring='Reason'
-
default_get(self, fields)@api.model -
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)@api.model -
modify(self)@api.multiModifies the duration of asset for calculating depreciation and maintains the history of old values, in the chatter.
New fields (2)
-
asset_category_idMany2one → account.asset.categorycompany_dependent=Trueondelete='restrict'string='Asset Type' args: 'account.asset.category' -
deferred_revenue_category_idMany2one → account.asset.categorycompany_dependent=Trueondelete='restrict'string='Deferred Revenue Type' args: 'account.asset.category'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…