Thai Localization - Assets Management
l10n_th_account_asset_management · OCA/l10n-thailand
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
8 models
10 views
0 HTTP endpoints
Description
This module adds features to asset management for Thailand.
- Adds images and chatter to the assets
- Adds columns to the financial assets report
- Allows to link journal entry to an asset
- Adds parent asset feature
- Adds asset sub-status
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 10
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_asset_parent_view_form |
account.asset.parent.form | account.asset.parent | form | New |
account_asset_parent_view_list |
account.asset.parent.list | account.asset.parent | list | New |
account_asset_parent_view_search |
account.asset.parent.search | account.asset.parent | search | New |
account_asset_remove_view_form |
account.asset.remove.form | account.asset.remove | form | Inherits account_asset_management.account_asset_remove_view_form |
account_asset_sub_state_view_form |
account.asset.sub.state.form | account.asset.sub.state | form | New |
account_asset_sub_state_view_list |
account.asset.sub.state.list | account.asset.sub.state | list | New |
account_asset_sub_state_view_search |
account.asset.sub.state.search | account.asset.sub.state | search | New |
account_asset_transfer_view_form |
account.asset.transfer.form | account.asset.transfer | form | Inherits account_asset_transfer.account_asset_transfer_view_form |
account_asset_view_form |
account.asset.form | account.asset | form | Inherits account_asset_management.account_asset_view_form |
account_asset_view_list |
account.asset.list | account.asset | list | Inherits account_asset_management.account_asset_view_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 8
New fields (6)
-
asset_sub_state_allMany2many → account.asset.sub.statecomodel_name='account.asset.sub.state'compute='_compute_asset_sub_state_all' -
asset_sub_state_idMany2one → account.asset.sub.statecheck_company=Truecomodel_name='account.asset.sub.state'domain=<expr>string='Sub-Status' -
depreciation_rateFloatcompute='_compute_depreciation_rate'store=Truestring='Depreciation Rate (%)' -
imageBinaryattachment=Truehelp='This field holds the photo of the asset.' -
parent_idMany2one → account.asset.parentcheck_company=Truecomodel_name='account.asset.parent'ondelete='cascade'string='Parent Asset' -
sale_invoice_idMany2one → account.movecheck_company=Truecomodel_name='account.move'copy=Falsereadonly=True
-
action_view_invoice(self) -
validate(self)
New fields (0)
No new fields.
Public methods (1)-
create_move(self)
New fields (6)
-
activeBooleandefault=True -
asset_idsOne2many → account.assetcheck_company=Truecomodel_name='account.asset'copy=Falseinverse_name='parent_id'string='Assets' -
codeCharcopy=Falsedefault='/'index=Truerequired=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>string='Company' -
nameCharindex=Truerequired=True -
noteText
-
action_view_assets(self) -
create(self, vals_list)@api.model_create_multi
New fields (2)
-
asset_sub_state_idMany2one → account.asset.sub.statecheck_company=Truecomodel_name='account.asset.sub.state'default=<expr>domain="[('removed', '=', True), '|', ('company_id', '=', False), ('company_id', '=', company_id)]"string='Sub-Status' -
tax_idsMany2many → account.taxcheck_company=Truecomodel_name='account.tax'domain="[('type_tax_use', '=', 'sale')]"string='Taxes'
-
remove(self)
New fields (9)
-
activeBooleandefault=True -
closeBooleanhelp='Show this asset sub-status on the close asset'index=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>index=Truestring='Company' -
draftBooleanhelp='Show this asset sub-status on the draft asset'index=True -
nameCharindex=Truerequired=True -
noteText -
openBooleanhelp='Show this asset sub-status on the running asset'index=Truestring='Running' -
removedBooleanhelp='Show this asset sub-status on the removed asset'index=True -
sequenceIntegerdefault=10help='Used to order Asset Sub Status'
No public methods.
New fields (1)
-
asset_sub_state_idMany2one → account.asset.sub.statecheck_company=Truecomodel_name='account.asset.sub.state'default=<expr>domain="[('removed', '=', True), '|', ('company_id', '=', False), ('company_id', '=', company_id)]"string='Sub-Status'
-
transfer(self)
New fields (0)
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…