Thai Localization - Government Work Acceptance
l10n_th_gov_work_acceptance · OCA/l10n-thailand
Health
54/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 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
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
3 migration notes
4 models
8 views
0 HTTP endpoints
Migration considerations
WorkAcceptanceCommittee— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceview_work_acceptance_evaluation_result_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_work_acceptance_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. (3 occurrences in this file) 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
- None
- 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 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form_inherit |
purchase.order.form.inherit | purchase.order | form | Inherits purchase.purchase_order_form |
view_work_acceptance_evaluation_result_tree |
view.work.acceptance.evaluation.result.tree | work.acceptance.evaluation.result | tree | New |
view_work_acceptance_form |
view.work.acceptance.form | work.acceptance | form | Inherits purchase_work_acceptance.view_work_acceptance_form |
view_work_acceptance_form_evaluation |
view.work.acceptance.form.evaluation | work.acceptance | form | Inherits purchase_work_acceptance_late_fines.view_work_acceptance_fines_late_tab_form |
view_work_acceptance_form_tier_validation |
view.work.acceptance.form.tier_validation | work.acceptance | form | Inherits purchase_work_acceptance.view_work_acceptance_form |
view_work_acceptance_search |
view.work.acceptance.search | work.acceptance | search | Inherits purchase_work_acceptance.view_work_acceptance_search |
view_work_acceptance_tree |
view.work.acceptance.tree | work.acceptance | tree | Inherits purchase_work_acceptance.view_work_acceptance_tree |
view_work_acceptance_tree_decoration |
view.work.acceptance.tree.decoration | work.acceptance | tree | Inherits view_work_acceptance_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
wa_tier_validationBooleandefault=Truehelp='If checked, WA created will be approved by committee by tier valiation.Each committee will be notified (by email or inbox) to approve WA.\nIf not checked, WA will be approved by paper outside Odoo, and the result of WA will be filled in by procurement officer'string='Paperless WA'
-
action_view_wa(self)
New fields (0)
No new fields.
Public methods (1)-
restart_validation(self)restart tier with clear data work acceptance committee
New fields (3)
-
completenessFloatcompute='_compute_completeness'store=Truestring='Progress' -
wa_tier_validationBooleandefault=Truehelp='If checked, WA created will be approved by committee by tier valiation.Each committee will be notified (by email or inbox) to approve WA.\nIf not checked, WA will be approved by paper outside Odoo, and the result of WA will be filled in by procurement officer'readonly=Truestates={'draft': [('readonly', False)]}string='Paperless WA'tracking=True -
work_acceptance_committee_idsOne2many → work.acceptance.committeecomodel_name='work.acceptance.committee'copy=Trueinverse_name='wa_id'string='Work Acceptance Committees'
-
button_draft(self)
New fields (9)
-
approve_roleSelectionrequired=Trueselection=[('chairman', 'Chairman'), ('committee', 'Committee')]string='Role' -
department_idMany2onerelated='employee_id.department_id' -
emailCharrelated='employee_id.work_email' -
employee_idMany2one → hr.employeecomodel_name='hr.employee'index=Trueondelete='restrict'string='Employee' -
nameCharcompute='_compute_default_name'index=Truereadonly=Falserequired=Truestore=Truestring='Committee Name' -
noteText -
phoneCharrelated='employee_id.work_phone' -
statusSelectionselection=[('accept', 'Accepted'), ('not_accept', 'No Accepted'), ('other', 'Other')] -
wa_idMany2one → work.acceptancecomodel_name='work.acceptance'index=Trueondelete='cascade'string='Work Acceptance'
-
create(self, vals)@api.model -
write(self, vals)
Loading…
Loading…