Account asset disposal
account_asset_disposal · OCA/account-financial-tools
Merged into account_asset_management in 12.0
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Only bot commits
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
3 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
AccountAssetAsset— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceAccountAssetDisposalWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_account_asset_asset_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_asset_disposal_wizard_form |
account.asset.disposal.wizard.form | account.asset.disposal.wizard | form | New |
view_account_asset_asset_form |
Add disposal fields | account.asset.asset | form | Inherits account_asset.view_account_asset_asset_form |
view_account_asset_category_form |
Add loss account | account.asset.category | form | Inherits account_asset.view_account_asset_category_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (3)
-
disposal_dateDatestring='Disposal date' -
disposal_move_idMany2one → account.movecomodel_name='account.move'string='Disposal move' -
stateSelectionselection_add=[('disposed', 'Disposed')]
-
action_disposal(self)@api.multi -
action_disposal_undo(self)@api.multi -
dispose(self, date, loss_account)@api.multi
New fields (1)
-
account_loss_idMany2one → account.accountcomodel_name='account.account'oldname='loss_account_id'string='Loss Account'
No public methods.
New fields (2)
-
disposal_dateDatedefault=<expr>required=Truestring='Disposal date' -
loss_account_idMany2one → account.accountcomodel_name='account.account'default=<expr>required=Truestring='Loss Account'
-
action_dispose(self)@api.multi
Loading…