Thai Localization - Government Work Acceptance

l10n_th_gov_work_acceptance
REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/15.0/l10n_th_gov_work_acceptance
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYLocalization / Purchase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Saran440, ps-tubtim, Pani-k-folk
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-thailand:
    - l10n_th_gov_purchase_request
OCA/purchase-workflow:
    - purchase_work_acceptance_evaluation
    - purchase_work_acceptance
    - purchase_work_acceptance_late_fines
    - purchase_work_acceptance_tier_validation
    - purchase_exception
    - purchase_request_exception
    - purchase_request
    - purchase_request_substate
    - purchase_request_to_requisition
OCA/server-tools:
    - base_exception
OCA/server-ux:
    - base_tier_validation_formula
    - base_tier_validation
    - base_tier_validation_forward
    - base_tier_validation_server_action
    - base_substate
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - purchase_stock
    - stock_account
    - stock
    - product
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - account
    - analytic
    - purchase
    - purchase_requisition_stock
    - purchase_requisition
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
purchase_order_form_inherit purchase.order.form.inherit purchase.order xpath 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 field Inherits purchase_work_acceptance.view_work_acceptance_form
view_work_acceptance_form_evaluation view.work.acceptance.form.evaluation work.acceptance div 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 xpath Inherits purchase_work_acceptance.view_work_acceptance_form
view_work_acceptance_search view.work.acceptance.search work.acceptance separator Inherits purchase_work_acceptance.view_work_acceptance_search
view_work_acceptance_tree view.work.acceptance.tree work.acceptance field Inherits purchase_work_acceptance.view_work_acceptance_tree
view_work_acceptance_tree_decoration view.work.acceptance.tree.decoration work.acceptance xpath Inherits view_work_acceptance_tree
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)
REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/14.0/l10n_th_gov_work_acceptance
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization / Purchase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-thailand:
    - l10n_th_gov_purchase_request
OCA/purchase-workflow:
    - purchase_work_acceptance_evaluation
    - purchase_work_acceptance
    - purchase_work_acceptance_late_fines
    - purchase_work_acceptance_tier_validation
    - purchase_request_exception
    - purchase_request
    - purchase_request_substate
    - purchase_request_to_requisition
OCA/server-tools:
    - base_exception
OCA/server-ux:
    - base_tier_validation_formula
    - base_tier_validation
    - base_tier_validation_forward
    - base_tier_validation_server_action
    - base_substate
odoo/odoo:
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - purchase_stock
    - stock_account
    - stock
    - product
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - account
    - analytic
    - purchase
    - purchase_requisition
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
purchase_order_form_inherit purchase.order.form.inherit purchase.order xpath 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 field Inherits purchase_work_acceptance.view_work_acceptance_form
view_work_acceptance_form_evaluation view.work.acceptance.form.evaluation work.acceptance div 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 xpath Inherits purchase_work_acceptance.view_work_acceptance_form
view_work_acceptance_search view.work.acceptance.search work.acceptance separator Inherits purchase_work_acceptance.view_work_acceptance_search
view_work_acceptance_tree view.work.acceptance.tree work.acceptance field Inherits purchase_work_acceptance.view_work_acceptance_tree
view_work_acceptance_tree_decoration view.work.acceptance.tree.decoration work.acceptance xpath Inherits view_work_acceptance_tree
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' required=True string='Employee'
  • name Char
    related='employee_id.name'
  • note Text
    string='Note'
  • 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 (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-thailand
PULL REQUEST
PULL REQUEST[18.0][MIG] l10n_th_gov_work_acceptance: Migration to 18.0 (#603)