Thai Localization - Bank Payment Export KTB

l10n_th_bank_payment_export_ktb
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_bank_payment_export_ktb
VERSION
VERSION 3.0.0
CATEGORY
CATEGORYLocalization / Accounting
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/l10n-thailand:
    - l10n_th_bank_payment_export
OCA/partner-contact:
    - partner_bank_code
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
bank_payment_export_view_form bank.payment.export.view.form bank.payment.export xpath Inherits l10n_th_bank_payment_export.bank_payment_export_view_form
view_partner_form res.partner.form res.partner xpath Inherits base.view_partner_form
Models touched (5)

New fields (1)
  • bank Selection
    ondelete={'KRTHTHBK': 'cascade'} selection_add=[('KRTHTHBK', 'KTB')]
Public methods (0)

No public methods.

New fields (7)
  • bank Selection
    ondelete={'KRTHTHBK': 'cascade'} selection_add=[('KRTHTHBK', 'KTB')]
  • ktb_bank_type Selection
    readonly=True selection=[('standard', 'Standard / Express'), ('direct', 'Direct')] states={'draft': [('readonly', False)]} tracking=True
  • ktb_company_id Char
    readonly=True states={'draft': [('readonly', False)]} string='KTB Company ID'
  • ktb_is_editable Boolean
    compute='_compute_ktb_editable' string='KTB Editable'
  • ktb_sender_name Char
    readonly=True states={'draft': [('readonly', False)]}
  • ktb_service_type_direct Selection
    readonly=True selection=[('02', '02 - รายการเข้าบัญชีเงินเดือน (Salary)'), ('04', '04 - รายการชำระดอกเบี้ย (Bond Interest)'), ('09', '09 - รายการชำระเบี้ยประกัน (Insurance Premium)'), ('10', '10 - รายการชำระค่าโทรศัพท์ (Telephone Payment)'), ('11', '11 - รายการชำระค่าไฟฟ้า (Electricity Payment)'), ('12', '12 - รายการชำระค่าน้ำประปา (Water Payment)'), ('14', '14 - รายการชำระค่าสินค้าและบริการ (Purchase & Service)'), ('15', '15 - รายการชำระเงินของธนาคารอาคารสงเคราะห์ (GSB)'), ('21', '21 - รายการชำระราคาหลักทรัพย์ (Securities)'), ('25', '25 - รายการชำระ Clearing Bank'), ('27', '27 - รายการชำระค่าประกันสังคม (SSO)'), ('28', '28 - รายการชำระของกองสลากฯ (Lottery)'), ('37', '37 - รายการชำระด้วยบัตรอิเลคทรอนิคส์ (Electronic Card)'), ('46', '46 - รายการจ่ายเงินบำนาญ (Pension Fund)')] states={'draft': [('readonly', False)]}
  • ktb_service_type_standard Selection
    readonly=True selection=[('01', '01 - เงินเดือน ค่าจ้าง บำเหน็จ บำนาญ'), ('02', '02 - เงินปันผล'), ('03', '03 - ดอกเบี้ย'), ('04', '04 - ค่าสินค้า บริการ'), ('05', '05 - ขายหลักทรัพย์'), ('06', '06 - คืนภาษี'), ('07', '07 - เงินกู้'), ('59', '59 - อื่น ๆ')] states={'draft': [('readonly', False)]}
Public methods (0)

No public methods.

New fields (1)
  • bank Selection
    ondelete={'KRTHTHBK': 'cascade'} selection_add=[('KRTHTHBK', 'KTB')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • ktb_email Char
    size=40 string="Receiver's Email"
  • ktb_sms Char
    size=20 string="Receiver's SMS"
Public methods (0)

No public methods.