TIP: You can type at any time to perform a new search.
ITA - Gestione Cespiti
assets_management · OCA/l10n-italy
- Repository
- OCA/l10n-italy · module folder · Try on Runboat
- Module version
- 1.7.0
- Category
- Localization/Italy
- Folder size
- 0.78 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-italy
- Last tracking update
- 2026-08-07 07:47:33
- Authors
- Odoo Community Association (OCA), Openforce
- Maintainers
- Odoo Community Association (OCA), Openforce
- Committers
- GitHub, Simone Rubino, sergiocorato, Weblate, OCA-git-bot, oca-ci, George Smirnov, Alessandro Uffreduzzi, Marco Colombo, odooNextev, Borruso, PicchiSeba, Alessio Renda, daniel-chionne, Daniel Chionne
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_it_asset_history_import
- Description
Code Analysis ⓘ
Views touched (72)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
asset_accounting_info_form_view |
asset.accounting.info.form.view | asset.accounting.info | form | New |
asset_accounting_info_search_view |
asset.accounting.info.search.view | asset.accounting.info | search | New |
asset_accounting_info_tree_view |
asset.accounting.info.tree.view | asset.accounting.info | tree | New |
asset_category_form_view |
asset.category.form.view | asset.category | form | New |
asset_category_tree_view |
asset.category.asset.tree | asset.category | tree | New |
asset_dep_line_form_view |
asset.dep.line.form.view | asset.depreciation.line | form | New |
asset_dep_line_search_view |
asset.depreciation.line.view | asset.depreciation.line | search | New |
asset_dep_line_tree_view |
asset.dep.line.tree.view | asset.depreciation.line | tree | New |
asset_depreciation_line_type_form_view |
asset.dep.line.type.form.view | asset.depreciation.line.type | form | New |
asset_depreciation_line_type_tree_view |
asset.dep.line.type.tree.view | asset.depreciation.line.type | tree | New |
asset_depreciation_mode_form_view |
asset.depreciation.mode.form.view | asset.depreciation.mode | form | New |
asset_depreciation_mode_tree_view |
asset.depreciation.mode.tree.view | asset.depreciation.mode | tree | New |
asset_depreciation_type_form_view |
asset.depreciation.type.form.view | asset.depreciation.type | form | New |
asset_depreciation_type_tree_view |
asset.depreciation.type.tree.view | asset.depreciation.type | tree | New |
asset_form_view |
asset.form.view | asset.asset | form | New |
asset_search_view |
asset.search.view | asset.asset | search | New |
asset_tag_form_view |
asset.tag.form.view | asset.tag | form | New |
asset_tag_tree_view |
asset.tag.tree.view | asset.tag | tree | New |
asset_tree_view |
asset.tree.view | asset.asset | tree | New |
document_layout |
document_layout | ir.ui.view | qweb | New |
template_asset_journal_asset |
template_asset_journal_asset | ir.ui.view | qweb | New |
template_asset_journal_asset_accounting_table_data |
template_asset_journal_asset_accounting_table_data | ir.ui.view | qweb | New |
template_asset_journal_asset_accounting_table_header |
template_asset_journal_asset_accounting_table_header | ir.ui.view | qweb | New |
template_asset_journal_asset_depreciation_table_data |
template_asset_journal_asset_depreciation_table_data | ir.ui.view | qweb | New |
template_asset_journal_asset_depreciation_table_header |
template_asset_journal_asset_depreciation_table_header | ir.ui.view | qweb | New |
template_asset_journal_asset_depreciations |
template_asset_journal_asset_depreciations | ir.ui.view | qweb | New |
template_asset_journal_asset_table_data |
template_asset_journal_asset_table_data | ir.ui.view | qweb | New |
template_asset_journal_asset_table_header |
template_asset_journal_asset_table_header | ir.ui.view | qweb | New |
template_asset_journal_asset_title |
template_asset_journal_asset_title | ir.ui.view | qweb | New |
template_asset_journal_asset_year_depreciation_accounting_data |
template_asset_journal_asset_year_depreciation_accounting_data | ir.ui.view | qweb | New |
template_asset_journal_asset_year_depreciation_amount_details |
template_asset_journal_asset_year_depreciation_amount_details | ir.ui.view | qweb | New |
template_asset_journal_asset_year_depreciation_table_data |
template_asset_journal_asset_year_depreciation_table_data | ir.ui.view | qweb | New |
template_asset_journal_asset_year_depreciation_table_header |
template_asset_journal_asset_year_depreciation_table_header | ir.ui.view | qweb | New |
template_asset_journal_base |
template_asset_journal_base | ir.ui.view | qweb | New |
template_asset_journal_body |
template_asset_journal_body | ir.ui.view | qweb | New |
template_asset_journal_category_data |
template_asset_journal_category_data | ir.ui.view | qweb | New |
template_asset_journal_category_totals |
template_asset_journal_category_totals | ir.ui.view | qweb | New |
template_asset_journal_qweb |
template_asset_journal_qweb | ir.ui.view | qweb | New |
template_asset_journal_report |
template_asset_journal_report | ir.ui.view | qweb | New |
template_asset_journal_title |
template_asset_journal_title | ir.ui.view | qweb | New |
template_asset_journal_totals |
template_asset_journal_totals | ir.ui.view | qweb | New |
template_asset_journal_totals_data |
template_asset_journal_totals_data | ir.ui.view | qweb | New |
template_asset_journal_totals_header |
template_asset_journal_totals_header | ir.ui.view | qweb | New |
template_asset_previsional_asset |
template_asset_previsional_asset | ir.ui.view | qweb | New |
template_asset_previsional_asset_accounting_table_data |
template_asset_previsional_asset_accounting_table_data | ir.ui.view | qweb | New |
template_asset_previsional_asset_accounting_table_header |
template_asset_previsional_asset_accounting_table_header | ir.ui.view | qweb | New |
template_asset_previsional_asset_depreciation_table_data |
template_asset_previsional_asset_depreciation_table_data | ir.ui.view | qweb | New |
template_asset_previsional_asset_depreciation_table_header |
template_asset_previsional_asset_depreciation_table_header | ir.ui.view | qweb | New |
template_asset_previsional_asset_depreciations |
template_asset_previsional_asset_depreciations | ir.ui.view | qweb | New |
template_asset_previsional_asset_table_data |
template_asset_previsional_asset_table_data | ir.ui.view | qweb | New |
template_asset_previsional_asset_table_header |
template_asset_previsional_asset_table_header | ir.ui.view | qweb | New |
template_asset_previsional_asset_title |
template_asset_previsional_asset_title | ir.ui.view | qweb | New |
template_asset_previsional_asset_year_depreciation_table_data |
template_asset_previsional_asset_year_depreciation_table_data | ir.ui.view | qweb | New |
template_asset_previsional_asset_year_depreciation_table_header |
template_asset_previsional_asset_year_depreciation_table_header | ir.ui.view | qweb | New |
template_asset_previsional_base |
template_asset_previsional_base | ir.ui.view | qweb | New |
template_asset_previsional_body |
template_asset_previsional_body | ir.ui.view | qweb | New |
template_asset_previsional_category_data |
template_asset_previsional_category_data | ir.ui.view | qweb | New |
template_asset_previsional_category_totals |
template_asset_previsional_category_totals | ir.ui.view | qweb | New |
template_asset_previsional_qweb |
template_asset_previsional_qweb | ir.ui.view | qweb | New |
template_asset_previsional_report |
template_asset_previsional_report | ir.ui.view | qweb | New |
template_asset_previsional_title |
template_asset_previsional_title | ir.ui.view | qweb | New |
template_asset_previsional_totals |
template_asset_previsional_totals | ir.ui.view | qweb | New |
template_asset_previsional_totals_data |
template_asset_previsional_totals_data | ir.ui.view | qweb | New |
template_asset_previsional_totals_header |
template_asset_previsional_totals_header | ir.ui.view | qweb | New |
view_asset_depreciation_form |
asset.depreciation.form.view | asset.depreciation | form | New |
view_asset_depreciation_tree |
view.asset.depreciation.tree | asset.depreciation | tree | New |
view_move_form_inherit |
view.move.form.inherit | account.move | form | Inherits account.view_move_form |
view_move_line_form_inherit |
view.move.line.form.inherit | account.move.line | form | Inherits account.view_move_line_form |
wizard_account_move_mange_asset_form_view |
wizard.account.move.manage.asset.form.view | wizard.account.move.manage.asset | form | New |
wizard_asset_generate_depreciation_form_view |
wizard.asset.generate.depreciation.form.view | wizard.asset.generate.depreciation | form | New |
wizard_asset_journal_report_form_view |
wizard.asset.journal.report.form.view | wizard.asset.journal.report | form | New |
wizard_asset_previsional_report_form_view |
wizard.asset.previsional.report.form.view | wizard.asset.previsional.report | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (36)
New fields (0)
No new fields.
Public methods (1)-
unlink(self)
New fields (0)
No new fields.
Public methods (2)-
get_fiscal_year_by_date(self, date, limit=1, company=None, miss_raise=True)@api.modelRetrieves fiscal year by given ``date`` (a datetime.date object). By default, only 1 fiscal year will be returned, unless specified differently. If ``miss_raise`` is True and no fiscal year is found, an error will be raised. -
get_fiscal_year_by_date_domain(self, date, company=None)@api.modelPrepares a search() domain to retrieve fiscal years by given ``date``.
New fields (0)
No new fields.
Public methods (1)-
unlink(self)
New fields (4)
-
asset_accounting_info_idsOne2many → asset.accounting.infostring='Assets Accounting Info' args: 'asset.accounting.info', 'move_id' -
asset_idsMany2many → asset.assetcompute='_compute_asset_data'store=Truestring='Assets' args: 'asset.asset' -
dep_line_idsMany2many → asset.depreciation.linecompute='_compute_asset_data'store=Truestring='Depreciation Lines' args: 'asset.depreciation.line' -
hide_link_asset_buttonBooleancompute='_compute_hide_link_asset_button'compute_sudo=Truedefault=Truestring='Hide Asset Button'
-
button_cancel(self) -
check_company(self)@api.constrains('company_id') -
get_linked_aa_info_records(self) -
get_valid_accounts(self) -
open_wizard_manage_asset(self)
New fields (3)
-
asset_accounting_info_idsOne2many → asset.accounting.infostring='Assets Accounting Info' args: 'asset.accounting.info', 'move_line_id' -
asset_idsMany2many → asset.assetcompute='_compute_asset_data'store=Truestring='Assets' args: 'asset.asset' -
dep_line_idsMany2many → asset.depreciation.linecompute='_compute_asset_data'store=Truestring='Depreciation Lines' args: 'asset.depreciation.line'
-
check_company(self)@api.constrains('company_id') -
get_asset_purchase_amount(self, currency=None) -
get_linked_aa_info_records(self)
New fields (7)
-
asset_idMany2one → asset.assetondelete='set null'string='Asset' args: 'asset.asset' -
company_idMany2one → res.companyreadonly=Truestring='Company' args: 'res.company' -
dep_line_idMany2one → asset.depreciation.lineondelete='set null'string='Depreciation Line' args: 'asset.depreciation.line' -
move_idMany2one → account.moverelated='move_line_id.move_id'string='Move' args: 'account.move' -
move_line_idMany2one → account.move.lineondelete='cascade'string='Move Line' args: 'account.move.line' -
move_typeSelectionrelated='dep_line_id.move_type' -
relation_typeSelectionrequired=Truestring='Relation Type' args: [('create', 'Asset Creation'), ('update', 'Asset Update'), ('partial_dismiss', 'Asset Partial Dismissal'), ('dismiss', 'Asset Dismissal')]
-
button_unlink(self)Button action: deletes a.a.info -
check_and_normalize(self) -
check_coherence(self)Checks info coherence -
check_company_coherence(self)Checks companies -
check_data_coherence(self) -
create(self, vals)@api.model -
cron_vacuum_table(self)@api.modelA cron that deletes obsolete records -
get_all_companies(self) -
get_main_fields(self)@api.model -
get_normalized_info_vals(self) -
get_records_to_delete_by_cron(self)Returns every a.a.info that fits the condition: (no asset AND no depreciation line) OR (no move AND no move line) -
make_name(self) -
name_get(self) -
normalize_info(self)Normalize asset accounting info if needed -
write(self, vals)
New fields (21)
-
asset_accounting_info_idsOne2many → asset.accounting.infostring='Accounting Info' args: 'asset.accounting.info', 'asset_id' -
category_idMany2one → asset.categorycheck_company=Truerequired=Truestring='Category' args: 'asset.category' -
codeChardefault=''string='Code' -
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truerequired=Truestring='Company'tracking=True args: 'res.company' -
currency_idMany2one → res.currencyrequired=Truestring='Currency' args: 'res.currency' -
customer_idMany2one → res.partnercheck_company=Truestring='Customer' args: 'res.partner' -
depreciation_idsOne2many → asset.depreciationcheck_company=Truestring='Depreciations' args: 'asset.depreciation', 'asset_id' -
dismiss_dateDate -
dismissedBooleanstring='Dismissed' -
nameCharrequired=Truestring='Name'tracking=True -
purchase_amountMonetarystring='Purchase Value'tracking=True -
purchase_dateDatedefault=fields.Date.today()string='Purchase Date'tracking=True -
purchase_move_idMany2one → account.movecheck_company=Truestring='Purchase Move' args: 'account.move' -
sale_amountMonetarystring='Sale Value' -
sale_dateDatestring='Sale Date' -
sale_move_idMany2one → account.movecheck_company=Truestring='Sale Move' args: 'account.move' -
soldBooleanstring='Sold' -
stateSelectioncompute='_compute_state'default='non_depreciated'store=Truestring='State' args: [('non_depreciated', 'Non Depreciated'), ('partially_depreciated', 'Partially Depreciated'), ('totally_depreciated', 'Depreciated')] -
supplier_idMany2one → res.partnercheck_company=Truestring='Supplier' args: 'res.partner' -
supplier_refCharstring='Supplier Ref.' -
usedBooleanstring='Used'
-
check_company(self)@api.constrains('company_id') -
create(self, vals)@api.model -
get_asset_state(self) -
get_default_company_id(self)@api.model -
get_linked_aa_info_records(self) -
launch_wizard_generate_depreciations(self) -
make_name(self) -
name_get(self) -
onchange_category_id(self)@api.onchange('category_id') -
onchange_company_currency(self)@api.onchange('company_id') -
onchange_purchase_amount(self)@api.onchange('purchase_amount') -
onchange_purchase_date(self)@api.onchange('purchase_date') -
unlink(self) -
write(self, vals)
New fields (12)
-
asset_account_idMany2one → account.accountcheck_company=Truerequired=Truestring='Asset Account' args: 'account.account' -
commentTextstring='Comment' -
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truestring='Company' args: 'res.company' -
depreciation_account_idMany2one → account.accountcheck_company=Truerequired=Truestring='Depreciation Account' args: 'account.account' -
fund_account_idMany2one → account.accountcheck_company=Truerequired=Truestring='Fund Account' args: 'account.account' -
gain_account_idMany2one → account.accountcheck_company=Truerequired=Truestring='Capital Gain Account' args: 'account.account' -
journal_idMany2one → account.journalcheck_company=Truerequired=Truestring='Journal' args: 'account.journal' -
loss_account_idMany2one → account.accountcheck_company=Truerequired=Truestring='Capital Loss Account' args: 'account.account' -
nameCharrequired=Truestring='Name' -
print_by_defaultBooleandefault=Truehelp="Defines whether a category should be added by default when printing assets' reports."string='Print By Default' -
tag_idsMany2many → asset.tagcheck_company=Truestring='Tag' args: 'asset.tag' -
type_idsOne2many → asset.category.depreciation.typecheck_company=Truedefault=get_default_type_idsstring='Depreciation Types' args: 'asset.category.depreciation.type', 'category_id'
-
copy(self, default=None) -
get_default_company_id(self)@api.model -
get_default_type_ids(self)@api.model -
get_depreciation_vals(self, amount_depreciable=0) -
unlink(self)
New fields (7)
-
base_coeffFloatdefault=1help='Coeff to compute depreciable amount from purchase amount'string='Dep Base Coeff' -
category_idMany2one → asset.categorycheck_company=Trueondelete='cascade'readonly=Truerequired=Truestring='Category' args: 'asset.category' -
company_idMany2one → res.companyreadonly=Truerelated='category_id.company_id'string='Company' args: 'res.company' -
depreciation_type_idMany2one → asset.depreciation.typecheck_company=Truerequired=Truestring='Type' args: 'asset.depreciation.type' -
mode_idMany2one → asset.depreciation.modecheck_company=Truerequired=Truestring='Dep Mode' args: 'asset.depreciation.mode' -
percentageFloatstring='Depreciation %' -
pro_rata_temporisBooleanstring='Pro-rata Temporis'
-
get_depreciation_vals(self, amount_depreciable=0)
New fields (27)
-
amount_depreciableMonetarystring='Initial Depreciable Amount' -
amount_depreciable_updatedMonetarycompute='_compute_amounts'store=Truestring='Updated Depreciable Amount' -
amount_depreciatedMonetarycompute='_compute_amounts'store=Truestring='Depreciated Amount' -
amount_gainMonetarycompute='_compute_amounts'store=Truestring='Capital Gain' -
amount_historicalMonetarycompute='_compute_amounts'store=Truestring='Historical Amount' -
amount_inMonetarycompute='_compute_amounts'store=Truestring='In Amount' -
amount_lossMonetarycompute='_compute_amounts'store=Truestring='Capital Loss' -
amount_outMonetarycompute='_compute_amounts'store=Truestring='Out Amount' -
amount_residualMonetarycompute='_compute_amounts'store=Truestring='Residual Amount' -
asset_idMany2one → asset.assetondelete='cascade'readonly=Truerequired=Truestring='Asset' args: 'asset.asset' -
base_coeffFloatdefault=1help='Coeff to compute amount depreciable from purchase amount'string='Depreciable Base Coeff' -
company_idMany2one → res.companyreadonly=Truerelated='asset_id.company_id'string='Company' args: 'res.company' -
currency_idMany2one → res.currencyreadonly=Truerelated='asset_id.currency_id'string='Currency' args: 'res.currency' -
date_startDatestring='Date Start' -
dismiss_move_idMany2one → account.movecheck_company=Truestring='Dismiss Move' args: 'account.move' -
first_dep_nrIntegerdefault=1string='First Dep. Num' -
force_all_dep_nrBooleanstring='Force All Dep. Num' -
force_first_dep_nrBooleanstring='Force First Dep. Num' -
last_depreciation_dateDatecompute='_compute_last_depreciation_date'store=Truestring='Last Dep.' -
line_idsOne2many → asset.depreciation.linecheck_company=Truestring='Lines' args: 'asset.depreciation.line', 'depreciation_id' -
mode_idMany2one → asset.depreciation.modecheck_company=Truerequired=Truestring='Mode' args: 'asset.depreciation.mode' -
percentageFloatstring='Depreciation (%)' -
pro_rata_temporisBooleanstring='Pro-rata Temporis' -
requires_account_moveBooleanreadonly=Truerelated='type_id.requires_account_move'string='Requires Account Move' -
stateSelectioncompute='_compute_state'default='non_depreciated'store=Truestring='State' args: [('non_depreciated', 'Non Depreciated'), ('partially_depreciated', 'Partially Depreciated'), ('totally_depreciated', 'Depreciated')] -
type_idMany2one → asset.depreciation.typecheck_company=Truestring='Depreciation Type' args: 'asset.depreciation.type' -
zero_depreciation_untilDatestring='Zero Depreciation Up To'
-
check_before_generate_depreciation_lines(self, dep_date) -
create(self, vals)@api.model -
generate_depreciation_lines(self, dep_date, period=None, period_count=None) -
generate_depreciation_lines_single(self, dep_date, period=None, period_count=None) -
generate_dismiss_account_move(self) -
get_computed_amounts(self) -
get_depreciable_amount(self, dep_date=None) -
get_depreciation_amount(self, dep_date, period=None, period_count=None) -
get_depreciation_amount_multiplier(self, dep_date, period=None, period_count=None) -
get_depreciation_state(self) -
get_dismiss_account_move_line_vals(self) -
get_dismiss_account_move_vals(self) -
get_pro_rata_temporis_dates(self, date)Gets useful dates for pro rata temporis computations, according to given date, by retrieving its fiscal year. :param date: given date for depreciation :return: date objects triplet (dt_start, dt, dt_end) - dt_start: fiscal year first day - dt: given date - dt_end: fiscal year last day -
get_pro_rata_temporis_multiplier(self, date=None, mode='std')Computes and returns pro rata temporis multiplier according to given depreciation, date, fiscal year and mode :param date: given date as a fields.Date string :param mode: string, defines how to compute multiplier. Valid values: - 'std': start-to-date, computes multiplier using days from fiscal year's first day to given date; - 'dte': date-to-end, computes multiplier using days from given date to fiscal year's last day -
make_name(self) -
name_get(self) -
need_normalize_first_dep_nr(self) -
normalize_first_dep_nr(self, force=False)Normalize first numbered line according to `first_dep_nr` value :param force: if True, force normalization -
onchange_base_coeff(self)@api.onchange('asset_id', 'base_coeff') -
onchange_force_all_dep_nr(self)@api.onchange('force_all_dep_nr') -
onchange_force_dep_nrs(self)@api.onchange('force_all_dep_nr', 'force_first_dep_nr') -
onchange_force_first_dep_nr(self)@api.onchange('force_first_dep_nr') -
onchange_normalize_first_dep_nr(self)@api.onchange('first_dep_nr') -
post_generate_depreciation_lines(self, lines=None) -
prepare_depreciation_line_vals(self, dep_date) -
unlink(self) -
write(self, vals)
New fields (20)
-
amountMonetarystring='Amount' -
asset_accounting_info_idsOne2many → asset.accounting.infocheck_company=Truestring='Accounting Info' args: 'asset.accounting.info', 'dep_line_id' -
asset_idMany2one → asset.assetreadonly=Truerelated='depreciation_id.asset_id'store=Truestring='Asset' args: 'asset.asset' -
balanceMonetarycompute='_compute_balance'store=Truestring='Balance' -
baseFloatstring='Base' -
company_idMany2one → res.companyreadonly=Truerelated='depreciation_id.company_id' args: 'res.company' -
currency_idMany2one → res.currencyreadonly=Truerelated='depreciation_id.currency_id' args: 'res.currency' -
dateDaterequired=Truestring='Date' -
depreciation_idMany2one → asset.depreciationondelete='cascade'readonly=Truerequired=Truestring='Asset depreciation' args: 'asset.depreciation' -
depreciation_line_type_idMany2one → asset.depreciation.line.typecheck_company=Truestring='Depreciation Type' args: 'asset.depreciation.line.type' -
depreciation_nrIntegerstring='Dep. Num' -
depreciation_type_idMany2one → asset.depreciation.typereadonly=Truerelated='depreciation_id.type_id'store=Truestring='Asset depreciation type' args: 'asset.depreciation.type' -
force_dep_nrBooleanreadonly=Truerelated='depreciation_id.force_all_dep_nr'string='Force Dep. Num' -
move_idMany2one → account.movecheck_company=Truestring='Move' args: 'account.move' -
move_typeSelectionrequired=Truestring='Type' args: [('depreciated', 'Depreciation'), ('historical', 'Historical'), ('in', 'In'), ('out', 'Out'), ('loss', 'Capital Loss'), ('gain', 'Capital Gain')] -
nameCharrequired=Truestring='Name' -
partial_dismissalBooleanstring='Partial Dismissal' -
percentageFloatstring='%' -
requires_account_moveBooleanreadonly=Truerelated='depreciation_id.type_id.requires_account_move'string='Required Account Move' -
requires_depreciation_nrBooleancompute='_compute_requires_depreciation_nr'search='_search_requires_depreciation_nr_lines'string='Requires Dep Num'
-
button_generate_account_move(self) -
button_regenerate_account_move(self) -
button_remove_account_move(self) -
check_company(self) -
check_depreciation_nr_coherence(self)@api.constrains('depreciation_nr') -
create(self, vals)@api.model -
generate_account_move(self) -
generate_account_move_single(self) -
get_account_move_line_vals(self)Switcher between methods -
get_account_move_line_vals_methods(self)Maps line `move_type` to its own method for generating move lines. -
get_account_move_vals(self) -
get_balances_grouped(self)Groups balances of line in `self` by line.move_type, adding all possible type to ensure values are computed always. -
get_depreciated_account_move_line_vals(self) -
get_depreciation_nr_dict(self)Returns dict {line: new number} -
get_gain_account_move_line_vals(self) -
get_historical_account_move_line_vals(self) -
get_in_account_move_line_vals(self) -
get_linked_aa_info_records(self) -
get_loss_account_move_line_vals(self) -
get_non_residual_move_types(self)Returns list of `move_type` vals that do not concur to asset.depreciation's `amount_residual` field compute -
get_numbered_move_types(self)Returns list of `move_type` vals that require numeration -
get_out_account_move_line_vals(self) -
get_update_move_types(self)Returns list of `move_type` that concur to update asset.depreciation's `amount_depreciable_updated` field -
is_depreciation_nr_required(self)Defines if a line requires to be numbered -
make_name(self) -
name_get(self) -
need_normalize_depreciation_nr(self)Check if numbers need to be normalized -
needs_account_move(self) -
normalize_depreciation_nr(self, force=False)Normalize depreciation numbers to be consecutive for depreciation and historical lines within the same depreciation set; force to 0 every non-depreciation line. :param force: force normalization for every depreciations' lines -
onchange_move_type(self)@api.onchange('move_type') -
post_dismiss_asset(self) -
post_partial_dismiss_asset(self) -
unlink(self) -
write(self, vals)
New fields (4)
-
codeCharstring='Code' -
company_idMany2one → res.companydefault=get_default_company_idstring='Company' args: 'res.company' -
nameCharrequired=Truestring='Name' -
typeSelectionstring='Type' args: [('in', 'In'), ('out', 'Out')]
-
get_default_company_id(self)@api.model -
make_name(self) -
name_get(self) -
unlink(self)
New fields (5)
-
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truestring='Company' args: 'res.company' -
defaultBooleanstring='Default Mode' -
line_idsOne2many → asset.depreciation.mode.linecheck_company=Truestring='Lines' args: 'asset.depreciation.mode.line', 'mode_id' -
nameCharrequired=Truestring='Name' -
used_asset_coeffFloatdefault=1.0string='Used Asset Coeff.'
-
check_default_modes(self)@api.constrains('company_id', 'default') -
copy(self, default=None) -
get_default_company_id(self)@api.model -
get_depreciation_amount_multiplier(self) -
unlink(self)
New fields (7)
-
applicationSelectiondefault='coefficient'required=Truestring='Application by' args: [('coefficient', 'Coefficient'), ('percentage', 'Percentage')] -
coefficientFloatstring='Coefficient' -
company_idMany2one → res.companyreadonly=Truerelated='mode_id.company_id'string='Company' args: 'res.company' -
from_year_nrIntegerhelp='Minimum number of fiscal years passed from asset purchase date to apply this line.'required=Truestring='From Year' -
mode_idMany2one → asset.depreciation.modeondelete='cascade'readonly=Truerequired=Truestring='Mode' args: 'asset.depreciation.mode' -
percentageFloatstring='Percentage' -
to_year_nrIntegerhelp='Maximum number of fiscal years passed from asset purchase date to apply this line.'string='To Year'
-
get_depreciation_amount_multiplier(self) -
onchange_application(self)@api.onchange('application')
New fields (4)
-
company_idMany2one → res.companydefault=get_default_company_idstring='Company' args: 'res.company' -
nameCharrequired=Truestring='Name' -
print_by_defaultBooleandefault=Truehelp="Defines whether a category should be added by default when printing assets' reports."string='Print By Default' -
requires_account_moveBooleanstring='Requires Account Move'
-
get_default_company_id(self)@api.model -
unlink(self)
New fields (2)
-
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truestring='Company' args: 'res.company' -
nameCharrequired=Truestring='Name'
-
get_default_company_id(self)@api.model
New fields (0)
No new fields.
Public methods (23)-
generate_asset_accounting_doc_data(self, report_data) -
generate_asset_data(self, report_data) -
generate_category_data(self, report_data) -
generate_depreciation_data(self, report_data) -
generate_depreciation_line_accounting_doc_data(self, report_data) -
generate_depreciation_line_amount_detail_data(self, report_data) -
generate_depreciation_line_year_data(self, report_data) -
generate_xlsx_report(self, workbook, data, objects)Set wb, data and report attributes -
get_max_width_dict(self, report_data) -
get_totals_data(self, report_data) -
set_asset_accounting_doc_data(self, report_data) -
set_asset_data(self, report_data) -
set_category_data(self, report_data) -
set_depreciation_data(self, report_data) -
set_depreciation_line_accounting_doc_data(self, report_data) -
set_depreciation_line_amount_detail_data(self, report_data) -
set_depreciation_line_year_data(self, report_data) -
set_formats(self, workbook, report_data)Defines custom formats -
set_report_data(self, report_data) -
set_totals_data(self, report_data) -
write_all(self, report_data, obj, index) -
write_header(self, report_data, index) -
write_value(self, report_data, obj, index)
New fields (0)
No new fields.
Public methods (21)-
generate_asset_accounting_doc_data(self, report_data) -
generate_asset_data(self, report_data) -
generate_category_data(self, report_data) -
generate_depreciation_data(self, report_data) -
generate_depreciation_line_amount_detail_data(self, report_data) -
generate_depreciation_line_year_data(self, report_data) -
generate_xlsx_report(self, workbook, data, objects)Set wb, data and report attributes -
get_max_width_dict(self, report_data) -
get_totals_data(self, report_data) -
set_asset_accounting_doc_data(self, report_data) -
set_asset_data(self, report_data) -
set_category_data(self, report_data) -
set_depreciation_data(self, report_data) -
set_depreciation_line_amount_detail_data(self, report_data) -
set_depreciation_line_year_data(self, report_data) -
set_formats(self, workbook, report_data)Defines custom formats -
set_report_data(self, report_data) -
set_totals_data(self, report_data) -
write_all(self, report_data, obj, index) -
write_header(self, report_data, index) -
write_value(self, report_data, obj, index)
New fields (17)
-
asset_idsMany2many → asset.assetargs: 'asset.asset' -
asset_order_fnameChar -
category_idsMany2many → asset.categoryargs: 'asset.category' -
company_idMany2one → res.companyargs: 'res.company' -
dateDate -
report_asset_idsOne2many → report_asset_journal_assetargs: 'report_asset_journal_asset', 'report_id' -
report_category_idsOne2many → report_asset_journal_categoryargs: 'report_asset_journal_category', 'report_id' -
report_depreciation_idsOne2many → report_asset_journal_depreciationargs: 'report_asset_journal_depreciation', 'report_id' -
report_depreciation_line_year_idsOne2many → report_asset_journal_depreciation_line_yearargs: 'report_asset_journal_depreciation_line_year', 'report_id' -
report_footer_yearChar -
report_nameChar -
report_total_idsOne2many → report_asset_journal_totalsargs: 'report_asset_journal_totals', 'report_id' -
show_category_totalsBoolean -
show_dismissed_assetsBoolean -
show_sold_assetsBoolean -
show_totalsBoolean -
type_idsMany2many → asset.depreciation.typeargs: 'asset.depreciation.type'
-
compute_data_for_report(self)Compute data to be printed -
do_print(self, report_type) -
generate_data(self) -
generate_structure(self) -
generate_totals(self) -
get_depreciations(self) -
get_html(self, given_context=None)@api.modelMethod needed from JavaScript widget to render HTML view -
print_report(self, report_type=None)This method is called from the JS widget buttons 'Print' and 'Export' in the HTML view. Prints PDF and XLSX reports. :param report_type: string that represents the report type -
set_report_name(self) -
sort_assets(self, assets)
New fields (9)
-
document_dateChar -
document_nrChar -
partner_nameChar -
partner_refChar -
partner_vatChar -
report_idMany2one → report_asset_journalargs: 'report_asset_journal' -
res_idInteger -
res_modelChar -
sequenceInteger
No public methods.
New fields (11)
-
asset_codeChar -
asset_idMany2one → asset.assetondelete='cascade'required=True args: 'asset.asset' -
asset_nameChar -
asset_purchase_amountFloat -
asset_stateChar -
asset_usedChar -
report_category_idMany2one → report_asset_journal_categoryargs: 'report_asset_journal_category' -
report_depreciation_idsOne2many → report_asset_journal_depreciationargs: 'report_asset_journal_depreciation', 'report_asset_id' -
report_idMany2one → report_asset_journalargs: 'report_asset_journal' -
report_purchase_doc_idMany2one → report_asset_journal_accounting_docargs: 'report_asset_journal_accounting_doc' -
report_sale_doc_idMany2one → report_asset_journal_accounting_docargs: 'report_asset_journal_accounting_doc'
-
format_amount(self, amount, currency=None) -
generate_data(self) -
get_currency(self) -
get_purchase_vals(self) -
get_report_asset_data(self) -
get_sale_vals(self)
New fields (5)
-
category_idMany2one → asset.categoryondelete='cascade'required=True args: 'asset.category' -
category_nameChar -
report_asset_idsOne2many → report_asset_journal_assetargs: 'report_asset_journal_asset', 'report_category_id' -
report_idMany2one → report_asset_journalargs: 'report_asset_journal' -
report_total_idsOne2many → report_asset_journal_totalsargs: 'report_asset_journal_totals', 'report_category_id'
-
generate_data(self) -
generate_totals(self) -
get_report_categ_data(self)
New fields (10)
-
dep_amount_depreciableFloat -
dep_date_startChar -
dep_percentageFloat -
dep_pro_rata_temporisChar -
depreciation_idMany2one → asset.depreciationondelete='cascade'required=True args: 'asset.depreciation' -
mode_nameChar -
report_asset_idMany2one → report_asset_journal_assetargs: 'report_asset_journal_asset' -
report_depreciation_year_line_idsOne2many → report_asset_journal_depreciation_line_yearargs: 'report_asset_journal_depreciation_line_year', 'report_depreciation_id' -
report_idMany2one → report_asset_journalargs: 'report_asset_journal' -
type_nameChar
-
format_amount(self, amount, currency=None) -
generate_data(self) -
get_currency(self) -
get_report_dep_data(self)
New fields (30)
-
amount_depreciableFloat -
amount_depreciable_updatedFloat -
amount_depreciatedFloat -
amount_depreciation_fund_curr_yearFloat -
amount_depreciation_fund_prev_yearFloat -
amount_gainFloat -
amount_gain_totalFloat -
amount_historicalFloat -
amount_inFloat -
amount_in_detailChar -
amount_in_totalFloat -
amount_lossFloat -
amount_loss_totalFloat -
amount_outFloat -
amount_out_detailChar -
amount_out_totalFloat -
amount_residualFloat -
date_startChar -
dep_line_idsMany2many → asset.depreciation.linerelation='report_journal_line_year_dep_line' args: 'asset.depreciation.line' -
fiscal_year_idMany2one → account.fiscal.yearargs: 'account.fiscal.year' -
gain_lossFloat -
gain_loss_totalFloat -
has_amount_detailBoolean -
percentageFloat -
report_accounting_doc_idsMany2many → report_asset_journal_accounting_docrelation='year_dep_line_accounting_doc_rel' args: 'report_asset_journal_accounting_doc' -
report_depreciation_idMany2one → report_asset_journal_depreciationargs: 'report_asset_journal_depreciation' -
report_idMany2one → report_asset_journalargs: 'report_asset_journal' -
sequenceInteger -
type_nameChar -
yearChar
-
format_amount(self, amount, currency=None) -
generate_data(self) -
get_currency(self) -
get_report_dep_line_year_data(self)
New fields (16)
-
amount_depreciable_updatedFloat -
amount_depreciatedFloat -
amount_depreciation_fund_curr_yearFloat -
amount_depreciation_fund_prev_yearFloat -
amount_gainFloat -
amount_in_totalFloat -
amount_lossFloat -
amount_out_totalFloat -
amount_residualFloat -
gain_lossFloat -
gain_loss_totalFloat -
nameChar -
report_category_idMany2one → report_asset_journal_categoryargs: 'report_asset_journal_category' -
report_idMany2one → report_asset_journalargs: 'report_asset_journal' -
type_idMany2one → asset.depreciation.typeargs: 'asset.depreciation.type' -
type_nameChar
-
format_amount(self, amount, currency=None) -
get_currency(self)
New fields (18)
-
asset_idsMany2many → asset.assetargs: 'asset.asset' -
asset_order_fnameChar -
category_idsMany2many → asset.categoryargs: 'asset.category' -
company_idMany2one → res.companyargs: 'res.company' -
dateDate -
previsional_line_idsMany2many → asset.depreciation.lineargs: 'asset.depreciation.line' -
report_asset_idsOne2many → report_asset_previsional_assetargs: 'report_asset_previsional_asset', 'report_id' -
report_category_idsOne2many → report_asset_previsional_categoryargs: 'report_asset_previsional_category', 'report_id' -
report_depreciation_idsOne2many → report_asset_previsional_depreciationargs: 'report_asset_previsional_depreciation', 'report_id' -
report_depreciation_line_year_idsOne2many → report_asset_previsional_depreciation_line_yearargs: 'report_asset_previsional_depreciation_line_year', 'report_id' -
report_footer_yearChar -
report_nameChar -
report_total_idsOne2many → report_asset_previsional_totalsargs: 'report_asset_previsional_totals', 'report_id' -
show_category_totalsBoolean -
show_dismissed_assetsBoolean -
show_sold_assetsBoolean -
show_totalsBoolean -
type_idsMany2many → asset.depreciation.typeargs: 'asset.depreciation.type'
-
compute_data_for_report(self)Compute data to be printed -
do_print(self, report_type) -
generate_data(self) -
generate_structure(self) -
generate_totals(self) -
get_assets(self) -
get_html(self, given_context=None)@api.modelMethod needed from JavaScript widget to render HTML view -
print_report(self, report_type=None)This method is called from the JS widget buttons 'Print' and 'Export' in the HTML view. Prints PDF and XLSX reports. :param report_type: string that represents the report type -
set_report_name(self) -
sort_assets(self, assets)
New fields (9)
-
document_dateChar -
document_nrChar -
partner_nameChar -
partner_refChar -
partner_vatChar -
report_idMany2one → report_asset_previsionalargs: 'report_asset_previsional' -
res_idInteger -
res_modelChar -
sequenceInteger
No public methods.
New fields (11)
-
asset_codeChar -
asset_idMany2one → asset.assetondelete='cascade'required=True args: 'asset.asset' -
asset_nameChar -
asset_purchase_amountFloat -
asset_stateChar -
asset_usedChar -
report_category_idMany2one → report_asset_previsional_categoryargs: 'report_asset_previsional_category' -
report_depreciation_idsOne2many → report_asset_previsional_depreciationargs: 'report_asset_previsional_depreciation', 'report_asset_id' -
report_idMany2one → report_asset_previsionalargs: 'report_asset_previsional' -
report_purchase_doc_idMany2one → report_asset_previsional_accounting_docargs: 'report_asset_previsional_accounting_doc' -
report_sale_doc_idMany2one → report_asset_previsional_accounting_docargs: 'report_asset_previsional_accounting_doc'
-
format_amount(self, amount, currency=None) -
generate_data(self) -
get_currency(self) -
get_purchase_vals(self) -
get_report_asset_data(self) -
get_sale_vals(self)
New fields (5)
-
category_idMany2one → asset.categoryondelete='cascade'required=True args: 'asset.category' -
category_nameChar -
report_asset_idsOne2many → report_asset_previsional_assetargs: 'report_asset_previsional_asset', 'report_category_id' -
report_idMany2one → report_asset_previsionalargs: 'report_asset_previsional' -
report_total_idsOne2many → report_asset_previsional_totalsargs: 'report_asset_previsional_totals', 'report_category_id'
-
generate_data(self) -
generate_totals(self) -
get_report_categ_data(self)
New fields (10)
-
dep_amount_depreciableFloat -
dep_date_startChar -
dep_percentageFloat -
dep_pro_rata_temporisChar -
depreciation_idMany2one → asset.depreciationondelete='cascade'required=True args: 'asset.depreciation' -
mode_nameChar -
report_asset_idMany2one → report_asset_previsional_assetargs: 'report_asset_previsional_asset' -
report_depreciation_year_line_idsOne2many → report_asset_previsional_depreciation_line_yearargs: 'report_asset_previsional_depreciation_line_year', 'report_depreciation_id' -
report_idMany2one → report_asset_previsionalargs: 'report_asset_previsional' -
type_nameChar
-
format_amount(self, amount, currency=None) -
generate_data(self) -
get_currency(self) -
get_report_dep_data(self)
New fields (31)
-
amount_depreciableFloat -
amount_depreciable_updatedFloat -
amount_depreciatedFloat -
amount_depreciation_fund_curr_yearFloat -
amount_depreciation_fund_prev_yearFloat -
amount_gainFloat -
amount_gain_totalFloat -
amount_historicalFloat -
amount_inFloat -
amount_in_detailChar -
amount_in_totalFloat -
amount_lossFloat -
amount_loss_totalFloat -
amount_outFloat -
amount_out_detailChar -
amount_out_totalFloat -
amount_residualFloat -
date_startChar -
dep_line_idsMany2many → asset.depreciation.linerelation='report_previsional_line_year_dep_line' args: 'asset.depreciation.line' -
fiscal_year_idMany2one → account.fiscal.yearargs: 'account.fiscal.year' -
gain_lossFloat -
gain_loss_totalFloat -
has_amount_detailBoolean -
hiddenBoolean -
needs_previsionalBoolean -
percentageFloat -
report_depreciation_idMany2one → report_asset_previsional_depreciationargs: 'report_asset_previsional_depreciation' -
report_idMany2one → report_asset_previsionalargs: 'report_asset_previsional' -
sequenceInteger -
type_nameChar -
yearChar
-
clean_unused(self) -
do_clean(self) -
format_amount(self, amount, currency=None) -
generate_data(self) -
generate_previsional_line_single(self) -
generate_previsional_lines(self) -
get_currency(self) -
get_report_dep_line_year_data(self)
New fields (16)
-
amount_depreciable_updatedFloat -
amount_depreciatedFloat -
amount_depreciation_fund_curr_yearFloat -
amount_depreciation_fund_prev_yearFloat -
amount_gainFloat -
amount_in_totalFloat -
amount_lossFloat -
amount_out_totalFloat -
amount_residualFloat -
gain_lossFloat -
gain_loss_totalFloat -
nameChar -
report_category_idMany2one → report_asset_previsional_categoryargs: 'report_asset_previsional_category' -
report_idMany2one → report_asset_previsionalargs: 'report_asset_previsional' -
type_idMany2one → asset.depreciation.typeargs: 'asset.depreciation.type' -
type_nameChar
-
format_amount(self, amount, currency=None) -
get_currency(self)
New fields (18)
-
asset_idMany2one → asset.assetcheck_company=Truestring='Asset' args: 'asset.asset' -
asset_purchase_amountMonetarystring='Purchase Amount' -
category_idMany2one → asset.categorycheck_company=Truestring='Category' args: 'asset.category' -
codeChardefault=''string='Code' -
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truestring='Company' args: 'res.company' -
currency_idMany2one → res.currencyreadonly=Truerelated='company_id.currency_id'string='Currency' args: 'res.currency' -
depreciated_fund_amountMonetarystring='Depreciated Fund Amount' -
depreciation_type_idsMany2many → asset.depreciation.typecheck_company=Truestring='Depreciation Types' args: 'asset.depreciation.type' -
dismiss_asset_without_saleBoolean -
dismiss_dateDatedefault=fields.Date.today()string='Dismiss Date' -
is_move_state_okBooleanstring='Move State' -
management_typeSelectionstring='Management Type' args: [('create', 'Create New'), ('update', 'Update Existing'), ('partial_dismiss', 'Partial Dismiss'), ('dismiss', 'Dismiss Asset')] -
move_idsMany2many → account.movecheck_company=Truedefault=get_default_move_idsstring='Moves' args: 'account.move' -
move_line_idsMany2many → account.move.linecheck_company=Truestring='Move Lines' args: 'account.move.line' -
move_typeSelectionstring='Move Type' args: [('sale', 'Sale'), ('purchase', 'Purchase'), ('general', 'Miscellaneous'), ('out_invoice', 'Customer Invoice'), ('in_invoice', 'Vendor Bill'), ('out_refund', 'Customer Credit Note'), ('in_refund', 'Vendor Credit Note'), ('wrong', 'Wrong')] -
nameCharstring='Name' -
purchase_dateDatedefault=fields.Date.today()string='Purchase Date' -
usedBooleanstring='Used'
-
check_pre_create_asset(self) -
check_pre_dismiss_asset(self) -
check_pre_link_asset(self) -
check_pre_update_asset(self) -
create_asset(self)Creates asset and returns it -
dismiss_asset(self)Dismisses asset and returns it -
get_create_asset_vals(self) -
get_default_company_id(self)@api.model -
get_default_move_ids(self)@api.model -
get_dismiss_asset_vals(self) -
get_management_type_2_method(self) -
get_move_journal_type_2_dep_line_type(self) -
get_partial_dismiss_asset_vals(self) -
get_update_asset_vals(self) -
link_asset(self) -
onchange_category_id(self)@api.onchange('category_id') -
onchange_depreciation_type_ids(self)@api.onchange('asset_id', 'management_type') -
onchange_moves(self)@api.onchange('move_ids') -
partial_dismiss_asset(self)Dismisses asset partially and returns it -
update_asset(self)Updates asset and returns it
New fields (9)
-
asset_idsMany2many → asset.assetcheck_company=Truestring='Assets' args: 'asset.asset' -
category_idsMany2many → asset.categorycheck_company=Truestring='Categories' args: 'asset.category' -
company_idMany2one → res.companycheck_company=Truedefault=get_default_company_idreadonly=Truestring='Company' args: 'res.company' -
date_depDatedefault=get_default_date_deprequired=Truestring='Depreciation Date' -
journal_idMany2one → account.journalcomodel_name='account.journal'help="Create move entries in this journal instead of the category's journal."string='Override journal' -
missing_fiscal_year_warningTextcompute='_compute_missing_fiscal_year_warning'help='Message to warn the user that some fiscal years are missing.' -
periodSelectiondefault='year'required=Trueselection=[('year', 'Year'), ('month', 'Month')] -
period_countIntegerdefault=1string='Number of periods' -
type_idsMany2many → asset.depreciation.typecheck_company=Truedefault=get_default_type_idsrequired=Truestring='Depreciation Types' args: 'asset.depreciation.type'
-
do_generate(self)Launches the generation of new depreciation lines for the retrieved assets. Reloads the current window if necessary. -
get_default_company_id(self)@api.model -
get_default_date_dep(self)@api.model -
get_default_type_ids(self)@api.model -
get_depreciations(self) -
get_depreciations_domain(self)
New fields (11)
-
asset_idsMany2many → asset.assetcheck_company=Truestring='Assets' args: 'asset.asset' -
asset_order_fnameSelectiondefault=get_default_asset_order_fnamerequired=Truestring='Asset Print Order' args: get_asset_order_fname_selection -
category_idsMany2many → asset.categorycheck_company=Truedefault=get_default_category_idsstring='Categories' args: 'asset.category' -
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truerequired=Truestring='Company' args: 'res.company' -
dateDatedefault=get_default_datestring='To Date' -
report_footer_yearChardefault=get_default_report_footer_yearstring='Report Footer Year' -
show_category_totalsBooleandefault=Truestring='Show Category Totals' -
show_dismissed_assetsBoolean -
show_sold_assetsBooleanhelp='By default, only unsold or assets sold in the selected year are printed.\nBy selecting this flag, the report will show all assets, ignoring the sold check.' -
show_totalsBooleandefault=Truestring='Show Totals' -
type_idsMany2many → asset.depreciation.typecheck_company=Truedefault=get_default_type_idsstring='Depreciation Types' args: 'asset.depreciation.type'
-
button_export_asset_journal_html(self) -
button_export_asset_journal_pdf(self) -
button_export_asset_journal_xlsx(self) -
export_asset_journal_report(self, report_type=None) -
filter_assets(self) -
get_asset_domain(self) -
get_asset_order_fname_selection(self)@api.model -
get_default_asset_order_fname(self)@api.model -
get_default_category_ids(self)@api.model -
get_default_company_id(self)@api.model -
get_default_date(self)@api.model -
get_default_report_footer_year(self)@api.model -
get_default_type_ids(self)@api.model -
onchange_assets(self)@api.onchange('category_ids', 'company_id', 'date', 'type_ids') -
prepare_report_vals(self)
New fields (11)
-
asset_idsMany2many → asset.assetcheck_company=Truestring='Assets' args: 'asset.asset' -
asset_order_fnameSelectiondefault=get_default_asset_order_fnamerequired=Truestring='Asset Print Order' args: get_asset_order_fname_selection -
category_idsMany2many → asset.categorycheck_company=Truedefault=get_default_category_idsstring='Categories' args: 'asset.category' -
company_idMany2one → res.companydefault=get_default_company_idreadonly=Truerequired=Truestring='Company' args: 'res.company' -
dateDatedefault=get_default_datestring='To Date' -
report_footer_yearChardefault=get_default_report_footer_yearstring='Report Footer Year' -
show_category_totalsBooleandefault=Truestring='Show Category Totals' -
show_dismissed_assetsBoolean -
show_sold_assetsBooleanhelp='By default, only unsold or assets sold in the selected year are printed.\nBy selecting this flag, the report will show all assets, ignoring the sold check.' -
show_totalsBooleandefault=Truestring='Show Totals' -
type_idsMany2many → asset.depreciation.typecheck_company=Truedefault=get_default_type_idsstring='Depreciation Types' args: 'asset.depreciation.type'
-
button_export_asset_previsional_html(self) -
button_export_asset_previsional_pdf(self) -
button_export_asset_previsional_xlsx(self) -
export_asset_previsional_report(self, report_type=None) -
filter_assets(self) -
get_asset_domain(self) -
get_asset_order_fname_selection(self)@api.model -
get_default_asset_order_fname(self)@api.model -
get_default_category_ids(self)@api.model -
get_default_company_id(self)@api.model -
get_default_date(self)@api.model -
get_default_report_footer_year(self)@api.model -
get_default_type_ids(self)@api.model -
onchange_assets(self)@api.onchange('category_ids', 'company_id', 'date', 'type_ids') -
prepare_report_vals(self)
Loading…