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

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
partner_agreement_form_view Agreement Form agreement form Inherits agreement_legal.partner_agreement_form_view
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form
report_agreement_document report_agreement_document ir.ui.view qweb Inherits agreement_legal.report_agreement_document
view_purchase_requisition_form purchase.requisition.form purchase.requisition form Inherits purchase_requisition.view_purchase_requisition_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (3)
  • invoice_plan_ids Many2many → purchase.invoice.plan
    comodel_name='purchase.invoice.plan' compute='_compute_invoice_plan_ids' inverse='_inverse_invoice_plan_ids'
  • purchase_order_id Many2one → purchase.order
    comodel_name='purchase.order' copy=False domain="[('state', 'in', ['draft', 'sent']), ('po_type', '=', 'agreement')]" index=True string='RFQ' tracking=True
  • use_invoice_plan Boolean
    related='purchase_order_id.use_invoice_plan'
Public methods (0)

No public methods.

New fields (3)
  • agreement_count Integer
    compute='_compute_agreement_count'
  • agreement_ids One2many → agreement
    comodel_name='agreement' copy=False inverse_name='purchase_order_id' string='Agreement'
  • po_type Selection
    related='requisition_id.po_type'
Public methods (2)
  • action_view_agreement(self)
  • button_confirm(self)

New fields (1)
  • po_type Selection
    copy=False selection=[('agreement', 'Agreement'), ('no_agreement', 'No Agreement')] string='PO Type' tracking=True
Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
69 days ago
Last activity
66 days ago
Repository
OCA/l10n-thailand
Pull request
[18.0][MIG] l10n_th_gov_purchase_agreement: Migration to 18.0 (#605)