Thai Localization - Government Purchase Report

l10n_th_gov_purchase_report
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_purchase_report
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
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/agreement:
    - agreement_legal
    - agreement
OCA/hr-expense:
    - hr_expense_advance_clearing
    - hr_expense_sequence
    - hr_expense_advance_overdue_reminder
    - hr_expense_advance_clearing_sequence
OCA/l10n-thailand:
    - l10n_th_account_tax_expense
    - l10n_th_account_tax
    - l10n_th_gov_hr_expense
    - l10n_th_gov_purchase_request
    - l10n_th_gov_purchase_agreement
    - l10n_th_gov_purchase_guarantee
OCA/purchase-workflow:
    - purchase_invoice_plan
    - purchase_open_qty
    - purchase_order_line_menu
    - purchase_rfq_number
    - purchase_work_acceptance_invoice_plan
    - purchase_work_acceptance
    - purchase_exception
    - purchase_request_exception
    - purchase_request
    - purchase_request_substate
    - purchase_request_to_requisition
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/server-tools:
    - base_exception
OCA/server-ux:
    - date_range
    - base_substate
odoo/odoo:
    - web
    - base
    - purchase_stock
    - stock_account
    - stock
    - product
    - mail
    - base_setup
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
    - hr_expense
    - hr_contract
    - hr
    - purchase_requisition_stock
    - purchase_requisition
    - contacts
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
non_purchase_report_wizard_form non.purchase.report.wizard.form non.purchase.report.wizard form New
purchase_report_wizard_form purchase.report.wizard.form purchase.report.wizard form New
purchase_tracking_report_wizard_form purchase.tracking.report.wizard.form purchase.tracking.report.wizard form New
Models touched (10)

New fields (0)

No new fields.

Public methods (1)
  • format_date_dmy(self, date, format_date=None)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr>
  • date_from Date
    required=True
  • date_range_id Many2one → date.range
    comodel_name='date.range'
  • date_to Date
    required=True
Public methods (1)
  • button_export_xlsx(self)

New fields (1)
  • results Many2many → hr.expense
    comodel_name='hr.expense' compute='_compute_results' help='Use compute fields, so there is nothing store in database'
Public methods (0)

No public methods.

New fields (9)
  • agreement_name Char
  • company_id Many2one → res.company
    comodel_name='res.company' index=True string='Company'
  • date_signed Date
    string='Signed Date'
  • description Char
    string='Objective'
  • po_name Char
  • pr_amount Float
  • procurement_method Char
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order'
  • requisition_id Many2one → purchase.requisition
    comodel_name='purchase.requisition' index=True string='Purchase Agreement'
Public methods (0)

No public methods.

New fields (1)
  • results Many2many → purchase.report.view
    comodel_name='purchase.report.view' compute='_compute_results' help='Use compute fields, so there is nothing store in database'
Public methods (0)

No public methods.

New fields (7)
  • agm_id Many2one → agreement
    comodel_name='agreement'
  • company_id Many2one → res.company
    comodel_name='res.company' index=True
  • move_id Many2one → account.move
    comodel_name='account.move'
  • po_id Many2one → purchase.order
    comodel_name='purchase.order'
  • pr_id Many2one → purchase.request
    comodel_name='purchase.request' index=True
  • te_id Many2one → purchase.requisition
    comodel_name='purchase.requisition'
  • wa_id Many2one → work.acceptance
    comodel_name='work.acceptance'
Public methods (0)

No public methods.

New fields (2)
  • requested_by Many2many → res.users
    comodel_name='res.users'
  • results Many2many → purchase.tracking.report.view
    comodel_name='purchase.tracking.report.view' compute='_compute_results' help='Use compute fields, so there is nothing store in database'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

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_purchase_report: Migration to 18.0 (#610)