Thai Localization - Government Assets Management
l10n_th_gov_account_asset_management · OCA/l10n-thailand
-
Security10/251 grave, 0 minor
-
Activity12/25Last human commit 14 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Security warnings
access_account_asset_location_user— ACL grants write on 'model_account_asset_location' to every user (portal/public included): no group is set. Verify record rules and test access as an unrelated public/portal user. acl-global-write · source
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue. Methodology
Migration considerations
AccountAsset— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceaccount_asset_location_view_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 · sourceaccount_asset_location_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceaccount_asset_view_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
- Odoo dependencies
- Python dependencies
- python-dateutil, xlrd, xlsxwriter
- System dependencies
- None
- Required by
- None
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_location_view_form |
account.asset.location.form | account.asset.location | form | New |
account_asset_location_view_search |
account.asset.location.search | account.asset.location | search | New |
account_asset_location_view_tree |
account.asset.location.tree | account.asset.location | tree | New |
account_asset_management.view_move_form |
form | 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_view_form |
account.asset.form | account.asset | form | Inherits account_asset_management.account_asset_view_form |
account_asset_view_search |
account.asset.search | account.asset | search | Inherits account_asset_management.account_asset_view_search |
asset_low_value_remove_form |
asset.low.value.remove.form | account.asset.remove | form | Inherits account_asset_low_value.asset_low_value_remove_form |
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
res_config_settings_view_form |
res.config.settings.view.form.inherit.account | res.config.settings | form | Inherits account.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 10
-
asset_brandCharstring='Brand' -
asset_guarantee_endDatestring='Guarantee End' -
asset_guarantee_startDatestring='Guarantee Start' -
asset_location_idMany2one → account.asset.locationcomodel_name='account.asset.location'string='Location'tracking=True -
asset_modelCharstring='Model' -
asset_serial_numberCharstring='Serial Number' -
employee_idMany2one → hr.employeecomodel_name='hr.employee'index=Truestring='Employee'tracking=True -
maintenance_line_idsOne2many → account.asset.maintenancecomodel_name='account.asset.maintenance'copy=Falseinverse_name='asset_id'string='Maintenance Lines' -
purchase_idMany2one → purchase.ordercomodel_name='purchase.order'index=Truestates=READONLY_STATESstring='Purchase Order' -
remove_reasonCharstring='Removed Reason'
-
action_remove_multi_assets(self) -
name_get(self)@api.depends('name', 'number')
No new fields.
Public methods (0)No public methods.
-
activeBooleandefault=True -
nameChar
No public methods.
-
asset_idMany2one → account.assetcomodel_name='account.asset'ondelete='cascade'required=Truestring='Asset' -
date_maintenanceDaterequired=Truestring='Date' -
descriptionText -
refCharstring='Reference'
No public methods.
-
remove_reasonCharstring='Removed Reason'
-
remove(self) -
remove_multi_assets(self)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
-
asset_profile_idMany2one → account.asset.profilecomodel_name='account.asset.profile'string='Asset Profile'
No public methods.
-
asset_move_line_analyticBooleanstring='Stamp analytic in all asset move line'
No public methods.
-
asset_move_line_analyticBooleanreadonly=Falserelated='company_id.asset_move_line_analytic'
No public methods.
Loading…