Repository
OCA/l10n-thailand · module folder · Try on Runboat
Module version
1.0.2
Category
Localization / Purchase
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-thailand
Last tracking update
2026-08-07 07:57:17
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
Saran440, OCA-git-bot, oca-ci, ps-tubtim, Pani-k-folk
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
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_validation Boolean
    default=True help='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'
Public methods (1)
  • 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)
  • completeness Float
    compute='_compute_completeness' store=True string='Progress'
  • wa_tier_validation Boolean
    default=True help='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=True states={'draft': [('readonly', False)]} string='Paperless WA' tracking=True
  • work_acceptance_committee_ids One2many → work.acceptance.committee
    comodel_name='work.acceptance.committee' copy=True inverse_name='wa_id' string='Work Acceptance Committees'
Public methods (1)
  • button_draft(self)

New fields (9)
  • approve_role Selection
    required=True selection=[('chairman', 'Chairman'), ('committee', 'Committee')] string='Role'
  • department_id Many2one
    related='employee_id.department_id'
  • email Char
    related='employee_id.work_email'
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' index=True ondelete='restrict' string='Employee'
  • name Char
    compute='_compute_default_name' index=True readonly=False required=True store=True string='Committee Name'
  • note Text
  • phone Char
    related='employee_id.work_phone'
  • status Selection
    selection=[('accept', 'Accepted'), ('not_accept', 'No Accepted'), ('other', 'Other')]
  • wa_id Many2one → work.acceptance
    comodel_name='work.acceptance' index=True ondelete='cascade' string='Work Acceptance'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
71 days ago
Last activity
70 days ago
Repository
OCA/l10n-thailand
Pull request
[18.0][MIG] l10n_th_gov_work_acceptance: Migration to 18.0 (#603)