Repository
OCA/l10n-thailand · module folder · Try on Runboat
Module version
1.0.2
Category
Localization / Purchase
Folder size
0.11 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
Odoo dependencies
Python dependencies
xlrd, xlsxwriter
System dependencies
None
Required by
None
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
HTTP endpoints (0)

No HTTP endpoints found for this module.

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
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
56 days ago
Last activity
45 days ago
Repository
OCA/l10n-thailand
Pull request
[18.0][MIG] l10n_th_gov_purchase_report: Migration to 18.0 (#610)