mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-24 10:22:03 +02:00
19.0 vanilla
This commit is contained in:
parent
7dc55599c6
commit
7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions
|
|
@ -15,37 +15,15 @@ pip install odoo-bringout-oca-ocb-l10n_th
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- account_qr_code_emv
|
||||
- account
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Thailand - Accounting
|
||||
- **Version**: 2.0
|
||||
- **Category**: Accounting/Localizations/Account Charts
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: False
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_th`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_th
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original LGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Reports: doc/REPORTS.md
|
||||
- Security: doc/SECURITY.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
This package preserves the original LGPL-3 license.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import models
|
||||
|
||||
def _preserve_tag_on_taxes(cr, registry):
|
||||
def _preserve_tag_on_taxes(env):
|
||||
from odoo.addons.account.models.chart_template import preserve_existing_tags_on_taxes
|
||||
preserve_existing_tags_on_taxes(cr, registry, 'l10n_th')
|
||||
preserve_existing_tags_on_taxes(env, 'l10n_th')
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': 'Thailand - Accounting',
|
||||
'icon': '/account/static/description/l10n.png',
|
||||
'countries': ['th'],
|
||||
'version': '2.0',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'description': """
|
||||
|
|
@ -11,17 +11,15 @@ Chart of Accounts for Thailand.
|
|||
|
||||
Thai accounting chart and localization.
|
||||
""",
|
||||
'author': 'Almacom',
|
||||
'website': 'http://almacom.co.th/',
|
||||
'depends': ['account'],
|
||||
'author': 'Almacom (http://almacom.co.th/)',
|
||||
'website': 'https://www.odoo.com/documentation/latest/applications/finance/fiscal_localizations/thailand.html',
|
||||
'depends': [
|
||||
'account_qr_code_emv',
|
||||
'account',
|
||||
],
|
||||
'auto_install': ['account'],
|
||||
'data': [
|
||||
'data/account_tax_group_data.xml',
|
||||
'data/l10n_th_chart_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/l10n_th_chart_post_data.xml',
|
||||
'data/account_tax_report_data.xml',
|
||||
'data/account_tax_template_data.xml',
|
||||
'data/account_chart_template_data.xml',
|
||||
'views/report_invoice.xml',
|
||||
],
|
||||
'demo': [
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
"id","name","code","account_type","chart_template_id/id","reconcile"
|
||||
"a_recv","Account Receivable","1200","asset_receivable","l10n_th.chart","True"
|
||||
"a_recv_pos","Account Receivable (PoS)","1210","asset_receivable","l10n_th.chart","True"
|
||||
"a_cheque","Outstanding Cheques","1201","liability_current","l10n_th.chart","True"
|
||||
"a_invent","Inventory","1300","asset_current","l10n_th.chart","False"
|
||||
"a_building_depr","Accumulated Depreciation - Building","1411","expense_depreciation","l10n_th.chart","False"
|
||||
"a_equipment_dept","Accumulated Depreciation - Equipment","1421","expense_depreciation","l10n_th.chart","False"
|
||||
"a_input_vat","Input VAT","1510","asset_current","l10n_th.chart","False"
|
||||
"a_wht_income","Withholding Income Tax","1520","asset_current","l10n_th.chart","False"
|
||||
"a_pay","Account Payable","2101","liability_payable","l10n_th.chart","True"
|
||||
"a_accr_exp","Accrued Expenses","2102","liability_current","l10n_th.chart","True"
|
||||
"a_uninvoiced_receipts","Uninvoiced Receipts","2103","liability_current","l10n_th.chart","True"
|
||||
"a_loan","Loans","2200","liability_current","l10n_th.chart","True"
|
||||
"a_output_vat","Output VAT","2310","liability_current","l10n_th.chart","False"
|
||||
"a_wht","Withholding Tax","2320","liability_current","l10n_th.chart","False"
|
||||
"a_common_stock","Capital Stock","3100","equity","l10n_th.chart","False"
|
||||
"a_retained_earnings","Retained Earnings","3200","equity","l10n_th.chart","False"
|
||||
"a_dividends","Dividends","3300","equity","l10n_th.chart","False"
|
||||
"a_income_summary","Income Summary","3400","equity","l10n_th.chart","False"
|
||||
"a_sales","Income","4100","income","l10n_th.chart","False"
|
||||
"a_income_gain","Gain Account","4200","income_other","l10n_th.chart","False"
|
||||
"a_exp_cogs","Cost of Revenue","5100","expense_direct_cost","l10n_th.chart","False"
|
||||
"a_exp_salary","Salary","5201","expense","l10n_th.chart","False"
|
||||
"a_exp_rent","Rent","5202","expense","l10n_th.chart","False"
|
||||
"a_exp_office","Office Expenses","5203","expense","l10n_th.chart","False"
|
||||
"a_exp_interest","Interest expenses","5300","expense","l10n_th.chart","False"
|
||||
"a_exp_income_tax","Income tax expenses","5400","expense","l10n_th.chart","False"
|
||||
"a_exp_loss","Loss Account","5500","expense","l10n_th.chart","False"
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_th.chart')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="tax_group_1" model="account.tax.group">
|
||||
<field name="name">TAX 1%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_2" model="account.tax.group">
|
||||
<field name="name">TAX 2%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_3" model="account.tax.group">
|
||||
<field name="name">TAX 3%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_5" model="account.tax.group">
|
||||
<field name="name">TAX 5%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
<record id="tax_group_vat_7" model="account.tax.group">
|
||||
<field name="name">VAT 7%</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -1,67 +1,76 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<odoo auto_sequence="1">
|
||||
<record id="tax_report" model="account.report">
|
||||
<field name="name">Tax Report</field>
|
||||
<field name="name@th">รายงานภาษี</field>
|
||||
<field name="root_report_id" ref="account.generic_tax_report"/>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
<field name="filter_fiscal_position" eval="True"/>
|
||||
<field name="allow_foreign_vat" eval="True"/>
|
||||
<field name="availability_condition">country</field>
|
||||
<field name="column_ids">
|
||||
<record id="tax_report_balance" model="account.report.column">
|
||||
<field name="name">Balance</field>
|
||||
<field name="name@th">ยอดคงเหลือ</field>
|
||||
<field name="expression_label">balance</field>
|
||||
</record>
|
||||
</field>
|
||||
<field name="line_ids">
|
||||
<record id="tax_report_out_tax_title" model="account.report.line">
|
||||
<field name="name">Output Tax</field>
|
||||
<field name="name@th">ภาษีขาย</field>
|
||||
<field name="aggregation_formula">OUTPUTTAX_SALEAMOUNT.balance + OUTPUTTAX_SALE_ZERO.balance + OUTPUTTAX_EXEMPTED.balance + OUTPUTTAX_TAX.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_out_tax_sale" model="account.report.line">
|
||||
<field name="name">1. Sales amount</field>
|
||||
<field name="name@th">1. ยอดขาย</field>
|
||||
<field name="code">OUTPUTTAX_SALEAMOUNT</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_sale_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">1. Sales amount</field>
|
||||
<field name="formula">-1. Sales amount</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax_less_sales_0_rate" model="account.report.line">
|
||||
<field name="name">2. Less sales subject to 0% tax rate </field>
|
||||
<field name="name@th">2. หักยอดขายโดยคิดอัตราภาษี 0% </field>
|
||||
<field name="code">OUTPUTTAX_SALE_ZERO</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_less_sales_0_rate_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">2. Less sales subject to 0% tax rate </field>
|
||||
<field name="formula">-2. Less sales subject to 0% tax rate </field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax_less_exempted_sales" model="account.report.line">
|
||||
<field name="name">3. Less exempted sales</field>
|
||||
<field name="name@th">3. หักยอดขายที่ได้รับการยกเว้น</field>
|
||||
<field name="code">OUTPUTTAX_EXEMPTED</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_less_exempted_sales_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">3. Less exempted sales</field>
|
||||
<field name="formula">-3. Less exempted sales</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax_taxable_sales_amount" model="account.report.line">
|
||||
<field name="name">4. Taxable sales amount(1. -2. -3.)</field>
|
||||
<field name="name@th">4. ยอดขายที่ต้องเสียภาษี(1. -2. -3.)</field>
|
||||
<field name="aggregation_formula">OUTPUTTAX_SALEAMOUNT.balance-(OUTPUTTAX_SALE_ZERO.balance+OUTPUTTAX_EXEMPTED.balance)</field>
|
||||
</record>
|
||||
<record id="tax_report_out_tax" model="account.report.line">
|
||||
<field name="name">5. Output tax</field>
|
||||
<field name="name@th">5. ภาษีขาย</field>
|
||||
<field name="code">OUTPUTTAX_TAX</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_out_tax_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">5. Output tax</field>
|
||||
<field name="formula">-5. Output tax</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -69,11 +78,14 @@
|
|||
</record>
|
||||
<record id="tax_report_input_tax_title" model="account.report.line">
|
||||
<field name="name">Input Tax</field>
|
||||
<field name="name@th">ภาษีซื้อ</field>
|
||||
<field name="code">INPUTTAX</field>
|
||||
<field name="aggregation_formula">6_PURCHASE_AMOUNT_THAT_IS_ENTITLED_TO_DEDUCTION_OF_INPUT_TAX_FROM_OUTPUT_TAX_IN_TAX_COMPUTATION.balance + INPUTTAX_TAX.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_input_tax_purchase_from_out_tax" model="account.report.line">
|
||||
<field name="name">6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation</field>
|
||||
<field name="name@th">6. จำนวนเงินซื้อที่มีสิทธิ์ได้รับการหักภาษีซื้อ จากภาษีขายในการคำนวณภาษี</field>
|
||||
<field name="code">6_PURCHASE_AMOUNT_THAT_IS_ENTITLED_TO_DEDUCTION_OF_INPUT_TAX_FROM_OUTPUT_TAX_IN_TAX_COMPUTATION</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_input_tax_purchase_from_out_tax_tag" model="account.report.expression">
|
||||
|
|
@ -85,6 +97,7 @@
|
|||
</record>
|
||||
<record id="tax_report_input_tax" model="account.report.line">
|
||||
<field name="name">7. Input tax (according to invoice of purchase amount in 6.)</field>
|
||||
<field name="name@th">7. ภาษีซื้อ (ตามใบแจ้งหนี้ของจำนวนการซื้อในข้อ 6. )</field>
|
||||
<field name="code">INPUTTAX_TAX</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_input_tax_tag" model="account.report.expression">
|
||||
|
|
@ -98,10 +111,14 @@
|
|||
</record>
|
||||
<record id="tax_report_vat" model="account.report.line">
|
||||
<field name="name">Value Added Tax</field>
|
||||
<field name="aggregation_formula">10_EXCESS_TAX_PAYMENT_CARRIED_FORWARD_FROM_LAST_PERIOD.balance</field>
|
||||
<field name="name@th">ภาษีมูลค่าเพิ่ม</field>
|
||||
<field name="aggregation_formula">10_EXCESS_CARRIED_FORWARD.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_vat_payable" model="account.report.line">
|
||||
<field name="name">8. Tax payable (5. minus 7. (if 5. is greater than 7.))</field>
|
||||
<field name="name">8. Tax payable (if 5. is greater than 7.)</field>
|
||||
<field name="name@th">8. ภาษีที่ต้องชำระ (ถ้า 5. มากกว่า 7. )</field>
|
||||
<field name="code">8_TAX_PAYABLE</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_vat_payable_balance" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
|
|
@ -112,7 +129,9 @@
|
|||
</field>
|
||||
</record>
|
||||
<record id="tax_report_vat_excess" model="account.report.line">
|
||||
<field name="name">9. Excess tax payable (7. minus 5. (if 5. is less than 7.))</field>
|
||||
<field name="name">9. Excess tax payable (if 5. is less than 7.)</field>
|
||||
<field name="name@th">9. ภาษีเกินที่ต้องชำระ (ถ้า 5. น้อยกว่า 7.)</field>
|
||||
<field name="code">9_VAT_EXCESS</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_vat_excess_balance" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
|
|
@ -124,13 +143,24 @@
|
|||
</record>
|
||||
<record id="tax_report_vat_payment_last_period" model="account.report.line">
|
||||
<field name="name">10. Excess tax payment carried forward from last period</field>
|
||||
<field name="code">10_EXCESS_TAX_PAYMENT_CARRIED_FORWARD_FROM_LAST_PERIOD</field>
|
||||
<field name="name@th">10. ภาษีส่วนเกินถูกยกมาจากงวดก่อน</field>
|
||||
<field name="code">10_EXCESS_CARRIED_FORWARD</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_vat_payment_last_period_carryover" model="account.report.expression">
|
||||
<field name="label">_applied_carryover_balance</field>
|
||||
<field name="engine">external</field>
|
||||
<field name="formula">most_recent</field>
|
||||
<field name="date_scope">previous_return_period</field>
|
||||
</record>
|
||||
<record id="tax_report_vat_payment_last_period_tag" model="account.report.expression">
|
||||
<field name="label">tag</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">10. Excess tax payment carried forward from last period</field>
|
||||
</record>
|
||||
<record id="tax_report_vat_payment_last_period_formula" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">external</field>
|
||||
<field name="formula">sum</field>
|
||||
<field name="subformula">editable;rounding=2</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">10_EXCESS_CARRIED_FORWARD._applied_carryover_balance + 10_EXCESS_CARRIED_FORWARD.tag</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -138,27 +168,54 @@
|
|||
</record>
|
||||
<record id="tax_report_net_vat" model="account.report.line">
|
||||
<field name="name">Net Tax</field>
|
||||
<field name="aggregation_formula">11_NET_TAX_PAYABLE_IF_8_IS_GREATER_THAN_10.balance + 12_NET_EXCESS_TAX_PAYABLE_IF_10_IS_GREATER_THAN_8_OR_9_PLUS_10.balance</field>
|
||||
<field name="name@th">ภาษีสุทธิ</field>
|
||||
<field name="aggregation_formula">11_NET_TAX_PAYABLE_IF_8_IS_GREATER_THAN_10.balance + 12_NET_VAT_EXCESS.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="tax_report_net_vat_payable" model="account.report.line">
|
||||
<field name="name">11. Net tax payable (if 8. is greater than 10.)</field>
|
||||
<field name="name@th">11. ภาษีสุทธิที่ต้องชำระ (ถ้า 8. มากกว่า 10.)</field>
|
||||
<field name="code">11_NET_TAX_PAYABLE_IF_8_IS_GREATER_THAN_10</field>
|
||||
<!-- If 8 > 10, this should be filled with 8 - 10 -->
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_net_vat_payable_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">11. Net tax payable (if 8. is greater than 10.)</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">8_TAX_PAYABLE.balance - 10_EXCESS_CARRIED_FORWARD.balance</field>
|
||||
<field name="subformula">if_above(THB(0))</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tax_report_net_vat_excess" model="account.report.line">
|
||||
<field name="name">12. Net excess tax payable ((if 10. is greater than 8.) or (9. plus 10.))</field>
|
||||
<field name="code">12_NET_EXCESS_TAX_PAYABLE_IF_10_IS_GREATER_THAN_8_OR_9_PLUS_10</field>
|
||||
<field name="name@th">12. ภาษีสุทธิส่วนเกินที่ต้องชำระ ((ถ้า 10. มากกว่า 8.) หรือ (9. บวก 10.))</field>
|
||||
<field name="code">12_NET_VAT_EXCESS</field>
|
||||
<field name="expression_ids">
|
||||
<!-- First part. If 10 - 8 > 0 we use this value -->
|
||||
<record id="tax_report_net_vat_payable_and_carried_forward" model="account.report.expression">
|
||||
<field name="label">net_vat_payable</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">10_EXCESS_CARRIED_FORWARD.balance - 8_TAX_PAYABLE.balance</field>
|
||||
<field name="subformula">if_above(THB(0))</field>
|
||||
</record>
|
||||
<!-- If 9 is set we also want to use it. -->
|
||||
<record id="tax_report_net_vat_excess_exp" model="account.report.expression">
|
||||
<field name="label">net_vat_excess</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">9_VAT_EXCESS.balance</field>
|
||||
<field name="subformula">if_other_expr_above(9_VAT_EXCESS.balance, THB(0))</field>
|
||||
</record>
|
||||
<!-- 10 - 8 or 10 + 9 (you will never have both 8 and 9)-->
|
||||
<record id="tax_report_net_vat_excess_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">12. Net excess tax payable ((if 10. is greater than 8.) or (9. plus 10.))</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">12_NET_VAT_EXCESS.net_vat_payable + 12_NET_VAT_EXCESS.net_vat_excess</field>
|
||||
</record>
|
||||
<record id="tax_report_net_vat_excess_carryover" model="account.report.expression">
|
||||
<field name="label">_carryover_balance</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">12_NET_VAT_EXCESS.balance</field>
|
||||
<field name="carryover_target">10_EXCESS_CARRIED_FORWARD._applied_carryover_balance</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -169,18 +226,21 @@
|
|||
|
||||
<record id="tax_report_pnd53" model="account.report">
|
||||
<field name="name">PND53</field>
|
||||
<field name="name@th">ภ.ง.ด. 53</field>
|
||||
<field name="root_report_id" ref="account.generic_tax_report" />
|
||||
<field name="country_id" ref="base.th" />
|
||||
<field name="availability_condition">country</field>
|
||||
<field name="column_ids">
|
||||
<record id="tax_report_pnd53_balance" model="account.report.column">
|
||||
<field name="name">Balance</field>
|
||||
<field name="name@th">ยอดคงเหลือ</field>
|
||||
<field name="expression_label">balance</field>
|
||||
</record>
|
||||
</field>
|
||||
<field name="line_ids">
|
||||
<record id="tax_report_total_income_pnd53_line" model="account.report.line">
|
||||
<field name="name">Total Income</field>
|
||||
<field name="name@th">รวมยอดเงินได้ทั้งสิ้น</field>
|
||||
<field name="code">INCOME_PND53</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_income_pnd53" model="account.report.expression">
|
||||
|
|
@ -192,6 +252,7 @@
|
|||
</record>
|
||||
<record id="tax_report_total_remittance_pnd53_line" model="account.report.line">
|
||||
<field name="name">Total Remittance</field>
|
||||
<field name="name@th">รวมยอดภาษีที่นำส่งทั้งสิ้น</field>
|
||||
<field name="code">P53</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_remittance_pnd53" model="account.report.expression">
|
||||
|
|
@ -203,6 +264,7 @@
|
|||
</record>
|
||||
<record id="tax_report_surcharge_pnd53_line" model="account.report.line">
|
||||
<field name="name">Surcharge</field>
|
||||
<field name="name@th">ค่าธรรมเนียมเพิ่มเติม</field>
|
||||
<field name="code">S53</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_surcharge_pnd53" model="account.report.expression">
|
||||
|
|
@ -214,6 +276,7 @@
|
|||
</record>
|
||||
<record id="tax_report_total_pnd53_line" model="account.report.line">
|
||||
<field name="name">Total</field>
|
||||
<field name="name@th">รวมยอดภาษีที่นำส่งทั้งสิ้น และเงินเพิ่ม (2. + 3.)</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_pnd53" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
|
|
@ -227,18 +290,21 @@
|
|||
|
||||
<record id="tax_report_pnd3" model="account.report">
|
||||
<field name="name">PND3</field>
|
||||
<field name="name@th">ภ.ง.ด. 3</field>
|
||||
<field name="root_report_id" ref="account.generic_tax_report" />
|
||||
<field name="country_id" ref="base.th" />
|
||||
<field name="availability_condition">country</field>
|
||||
<field name="column_ids">
|
||||
<record id="tax_report_pnd3_balance" model="account.report.column">
|
||||
<field name="name">Balance</field>
|
||||
<field name="name@th">ยอดคงเหลือ</field>
|
||||
<field name="expression_label">balance</field>
|
||||
</record>
|
||||
</field>
|
||||
<field name="line_ids">
|
||||
<record id="tax_report_total_income_pnd3_line" model="account.report.line">
|
||||
<field name="name">Total Income</field>
|
||||
<field name="name@th">รวมยอดเงินได้ทั้งสิ้น</field>
|
||||
<field name="code">INCOME_PND3</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_income_pnd3" model="account.report.expression">
|
||||
|
|
@ -250,6 +316,7 @@
|
|||
</record>
|
||||
<record id="tax_report_total_remittance_pnd3_line" model="account.report.line">
|
||||
<field name="name">Total Remittance</field>
|
||||
<field name="name@th">รวมยอดภาษีที่นำส่งทั้งสิ้น</field>
|
||||
<field name="code">P3</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_remittance_pnd3" model="account.report.expression">
|
||||
|
|
@ -261,6 +328,7 @@
|
|||
</record>
|
||||
<record id="tax_report_surcharge_pnd3_line" model="account.report.line">
|
||||
<field name="name">Surcharge</field>
|
||||
<field name="name@th">ค่าธรรมเนียมเพิ่มเติม</field>
|
||||
<field name="code">S3</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_surcharge_pnd3" model="account.report.expression">
|
||||
|
|
@ -272,6 +340,7 @@
|
|||
</record>
|
||||
<record id="tax_report_total_pnd3_line" model="account.report.line">
|
||||
<field name="name">Total</field>
|
||||
<field name="name@th">รวมยอดภาษีที่นำส่งทั้งสิ้น และเงินเพิ่ม (2. + 3.)</field>
|
||||
<field name="expression_ids">
|
||||
<record id="tax_report_total_pnd3" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
|
|
|
|||
|
|
@ -1,507 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="tax_input_vat" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Input VAT 7%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="7"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_vat_7"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_output_vat" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Output VAT 7%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="7"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_vat_7"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_sale_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_sale_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_input_vat_0" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Input VAT 0%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_output_vat_0" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Output VAT 0%</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_sales_0_rate_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_sales_0_rate_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_input_vat_exempted" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Input VAT Exempted</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_purchase_from_out_tax_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_input_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_input_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_output_vat_exempted" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Output VAT Exempted</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="0"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_exempted_sales_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'plus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_sale_tag'), ref('tax_report_out_tax_less_exempted_sales_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_output_vat'),
|
||||
'minus_report_expression_ids': [ref('tax_report_out_tax_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_1" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 1% (Transportation)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-1"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_2" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 2% (Advertising)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-2"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_2"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_3" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 3% (Service)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-3"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_3"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_co_5" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Company Withholding Tax 5% (Rental)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-5"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_5"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd53')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd53')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd53')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_1" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 1% (Transportation)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-1"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_2" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 2% (Advertising)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-2"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_2"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_3" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 3% (Service)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-3"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_3"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_pers_5" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Personal Withholding Tax 5% (Rental)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-5"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="tax_group_id" ref="tax_group_5"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'minus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('tax_report_total_income_pnd3')]
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht'),
|
||||
'plus_report_expression_ids': [ref('tax_report_total_remittance_pnd3')]
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_1" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 1% (Transportation)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-1"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_2" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 2% (Advertising)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-2"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_2"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_3" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 3% (Service)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-3"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_3"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="tax_wht_income_5" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="chart"/>
|
||||
<field name="name">Withholding Income Tax 5% (Rental)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount" eval="-5"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_5"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('a_wht_income'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- CHART OF Template -->
|
||||
|
||||
<record id="chart" model="account.chart.template">
|
||||
<field name="name">Thailand - Chart of Accounts</field>
|
||||
<field name="cash_account_code_prefix">1100</field>
|
||||
<field name="bank_account_code_prefix">1110</field>
|
||||
<field name="transfer_account_code_prefix">16</field>
|
||||
<field name="currency_id" ref="base.THB"/>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="chart" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="a_recv"/>
|
||||
<field name="property_account_payable_id" ref="a_pay"/>
|
||||
<field name="property_account_expense_categ_id" ref="a_exp_cogs"/>
|
||||
<field name="property_account_income_categ_id" ref="a_sales"/>
|
||||
<field name="income_currency_exchange_account_id" ref="a_income_gain"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="a_exp_loss"/>
|
||||
<field name="default_pos_receivable_account_id" ref="a_recv_pos"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,145 @@
|
|||
"id","code","name","account_type","reconcile","tag_ids","non_trade","description","name@th_TH","description@th_TH"
|
||||
"l10n_th_account_111100","111100","Cash on Hand","asset_cash","True","","","Physical cash in safe or tills. Reconcile with daily cash counts.","เงินสดในมือ","เงินสดที่มีอยู่จริงในตู้เซฟหรือลิ้นชักเก็บเงิน ตรวจสอบยอดกับรายงานการนับเงินสดประจำวัน"
|
||||
"l10n_th_account_111200","111200","Bank Deposits","asset_cash","True","","","Funds in savings/current accounts. Reconcile with monthly bank statements.","เงินฝากธนาคาร","เงินฝากในบัญชีออมทรัพย์หรือกระแสรายวัน ตรวจสอบยอดกับ Bank Statement ประจำเดือน"
|
||||
"l10n_th_account_111201","111201","Bank Suspense Account","asset_current","True","","","Temporary holding account for imported bank transactions pending reconciliation.","บัญชีพักรอตรวจสอบ (ธนาคาร)","บัญชีพักสำหรับรายการบัญชีธนาคารที่นำเข้ามาแล้วแต่รอการกระทบยอด"
|
||||
"l10n_th_account_111202","111202","Liquidity Transfer","asset_current","True","","","Interim clearing account for internal fund transfers between bank or cash journals.","บัญชีพักโอนเงินระหว่างกัน","บัญชีพักสำหรับการโอนเงินภายในระหว่างสมุดเงินสดหรือสมุดธนาคาร"
|
||||
"l10n_th_account_111300","111300","Cash Equivalents","asset_cash","True","","","Highly liquid short-term investments convertible to known cash amounts.","รายการเทียบเท่าเงินสด","เงินลงทุนระยะสั้นที่มีสภาพคล่องสูง สามารถเปลี่ยนเป็นเงินสดได้ในจำนวนที่ทราบได้แน่นอน"
|
||||
"l10n_th_account_112100","112100","Trade Receivables","asset_receivable","True","","","Amounts owed by customers for goods sold or services rendered on credit.","ลูกหนี้การค้า","ยอดเงินที่ลูกค้าค้างชำระจากการขายสินค้าหรือให้บริการแบบเชื่อ (เครดิต)"
|
||||
"l10n_th_account_112101","112101","Trade Receivables (POS)","asset_receivable","True","","","Amounts owed by POS customers for goods sold or services rendered on credit.","ลูกหนี้การค้า (POS)","ยอดเงินที่ลูกค้าหน้าร้าน (POS) ค้างชำระจากการขายสินค้าหรือบริการ"
|
||||
"l10n_th_account_112190","112190","Allowance for Doubtful Accounts","asset_current","False","","","Estimated portion of receivables unlikely to be collected (Contra Asset).","ค่าเผื่อหนี้สงสัยจะสูญ","ประมาณการยอดลูกหนี้ที่คาดว่าจะเก็บเงินไม่ได้ (บัญชีปรับมูลค่าสินทรัพย์)"
|
||||
"l10n_th_account_112200","112200","Other Receivables","asset_current","True","","","Non-trade receivables such as loans to employees or insurance claims.","ลูกหนี้อื่น","ลูกหนี้ที่ไม่ใช่การค้า เช่น เงินให้กู้ยืมแก่พนักงาน หรือเงินชดเชยประกันภัย"
|
||||
"l10n_th_account_113100","113100","Goods for resale","asset_current","False","","","Finished goods purchased specifically for resale to customers.","สินค้าสำเร็จรูป / สินค้าเพื่อขาย","สินค้าสำเร็จรูปที่ซื้อมาเพื่อขายต่อให้แก่ลูกค้าโดยเฉพาะ"
|
||||
"l10n_th_account_113200","113200","Raw materials","asset_current","False","","","Basic materials kept on hand for use in the production process.","วัตถุดิบ","วัสดุพื้นฐานที่เก็บไว้เพื่อใช้ในกระบวนการผลิต"
|
||||
"l10n_th_account_113300","113300","Consumables","asset_current","False","","","Supplies used in operations (e.g., packaging) that are not direct product costs.","วัสดุสิ้นเปลือง","วัสดุที่ใช้ในการดำเนินงาน (เช่น บรรจุภัณฑ์) ที่ไม่ใช่ต้นทุนสินค้าโดยตรง"
|
||||
"l10n_th_account_113400","113400","Work in Process","asset_current","False","","","Goods currently in production but not yet completed.","งานระหว่างทำ","สินค้าที่อยู่ระหว่างกระบวนการผลิตแต่ยังผลิตไม่เสร็จสมบูรณ์"
|
||||
"l10n_th_account_113900","113900","Allowance for Inventory Decline","asset_current","False","","","Provision to reduce inventory value if market price drops below cost.","ค่าเผื่อมูลค่าสินค้าลดลง","การตั้งสำรองเพื่อลดมูลค่าสินค้าคงเหลือ หากราคาตลาดต่ำกว่าราคาทุน"
|
||||
"l10n_th_account_114100","114100","Undue Input VAT","asset_current","True","","","Suspense VAT: Input tax from service bills received but not yet paid. Move to 'Input VAT' upon payment.","ภาษีซื้อยังไม่ถึงกำหนด","ภาษีซื้อจากค่าบริการที่ได้รับใบแจ้งหนี้แล้วแต่ยังไม่ได้ชำระเงิน (จะย้ายไป ""ภาษีซื้อ"" เมื่อจ่ายเงิน)"
|
||||
"l10n_th_account_114200","114200","Input VAT","asset_current","True","","","Tax paid on purchases. Balance is transferred to VAT Payable/Receivable at month-end.","ภาษีซื้อ","ภาษีที่จ่ายจากการซื้อสินค้า/บริการ ยอดนี้จะนำไปหักลบกับภาษีขายหรือขอคืนภาษีได้"
|
||||
"l10n_th_account_114300","114300","WHT Creditable","asset_current","True","","","Prepaid Tax: Income tax deducted by customers when paying you. Claimable against year-end CIT.","ภาษีเงินได้ถูกหัก ณ ที่จ่าย (สินทรัพย์)","ภาษีที่ถูกลูกค้าหักไว้เมื่อรับชำระเงิน สามารถนำไปเครดิตภาษีเงินได้นิติบุคคลสิ้นปี"
|
||||
"l10n_th_account_114400","114400","VAT Receivable","asset_receivable","True","","True","Net tax refund due from the Revenue Dept (if Input VAT > Output VAT).","ลูกหนี้กรมสรรพากร (ขอคืน VAT)","ยอดขอคืนภาษีสุทธิจากกรมสรรพากร (กรณีภาษีซื้อมากกว่าภาษีขาย)"
|
||||
"l10n_th_account_114401","114401","WHT Receivable","asset_receivable","True","","True","Tax Closing Account: Consolidated WHT tax credits transferred from daily accounts. To be claimed against annual Corporate Income Tax (P.N.D. 50).","ภาษีหัก ณ ที่จ่ายรอเครดิต/ขอคืน","บัญชีรวบรวมเครดิตภาษีหัก ณ ที่จ่ายรายวัน เพื่อนำไปเครดิตภาษีเงินได้ประจำปี (ภ.ง.ด. 50)"
|
||||
"l10n_th_account_114500","114500","Prepaid CIT (PND 51)","asset_current","True","","","Prepaid Tax: Corporate Income Tax paid mid-year (Form PND 51). Creditable against annual tax.","ภาษีเงินได้นิติบุคคลจ่ายล่วงหน้า (ภ.ง.ด. 51)","ภาษีเงินได้นิติบุคคลครึ่งปีที่ชำระแล้ว (ภ.ง.ด. 51) ใช้เครดิตภาษีประจำปีได้"
|
||||
"l10n_th_account_115100","115100","Temporary Investments","asset_current","False","","","Investments held for trading or short-term gains (e.g., stocks, bonds).","เงินลงทุนชั่วคราว","เงินลงทุนที่ถือไว้เพื่อค้าหรือหากำไรระยะสั้น (เช่น หุ้น, พันธบัตร)"
|
||||
"l10n_th_account_115200","115200","Biological Assets (Current)","asset_current","False","","","Living animals or plants held for sale or harvest within one accounting period.","สินทรัพย์ชีวภาพ (หมุนเวียน)","สัตว์หรือพืชที่มีชีวิตที่ถือไว้เพื่อขายหรือเก็บเกี่ยวภายในรอบบัญชีเดียว"
|
||||
"l10n_th_account_121100","121100","Investments in Associates","asset_non_current","False","","","Long-term equity investments where the company has significant influence (20-50%).","เงินลงทุนในบริษัทร่วม","เงินลงทุนระยะยาวในหุ้นทุนที่บริษัทมีอิทธิพลอย่างมีนัยสำคัญ (ถือหุ้น 20-50%)"
|
||||
"l10n_th_account_122100","122100","Investment Property","asset_non_current","False","","","Land or buildings held specifically to earn rentals or for capital appreciation.","อสังหาริมทรัพย์เพื่อการลงทุน","ที่ดินหรืออาคารที่ถือครองเพื่อหาประโยชน์จากค่าเช่า หรือหวังผลกำไรจากการเพิ่มขึ้นของราคา"
|
||||
"l10n_th_account_123100","123100","Land","asset_fixed","False","","","Land owned for operations. Not depreciated.","ที่ดิน","ที่ดินที่ใช้ในการดำเนินงาน (ไม่มีการคิดค่าเสื่อมราคา)"
|
||||
"l10n_th_account_123150","123150","Land Improvements","asset_fixed","False","","","Cost of paving, fencing, or drainage systems.","ส่วนปรับปรุงที่ดิน","ต้นทุนการปรับปรุงพื้นที่ เช่น การลาดยาง ทำรั้ว หรือระบบระบายน้ำ"
|
||||
"l10n_th_account_123151","123151","Accum. Depr. - Land Improvements","asset_fixed","False","","","Accumulated depreciation for land improvements.","ค่าเสื่อมราคาสะสม - ส่วนปรับปรุงที่ดิน","ค่าเสื่อมราคาสะสมสำหรับส่วนปรับปรุงที่ดิน"
|
||||
"l10n_th_account_123200","123200","Buildings (Structure)","asset_fixed","False","","","Cost of main building structures owned by the company.","อาคาร (โครงสร้าง)","ราคาทุนของโครงสร้างตัวอาคารหลักที่บริษัทเป็นเจ้าของ"
|
||||
"l10n_th_account_123201","123201","Accum. Depr. - Buildings","asset_fixed","False","","","Accumulated depreciation for buildings.","ค่าเสื่อมราคาสะสม - อาคาร","ค่าเสื่อมราคาสะสมสำหรับอาคาร"
|
||||
"l10n_th_account_123210","123210","Building Installations","asset_fixed","False","","","Integrated systems like HVAC, solar panels, or elevators with shorter lives.","งานระบบประกอบอาคาร","ระบบที่ติดตั้งในอาคาร เช่น HVAC, แผงโซลาร์เซลล์ หรือลิฟต์ (อายุการใช้งานสั้นกว่าตัวอาคาร)"
|
||||
"l10n_th_account_123211","123211","Accum. Depr. - Installations","asset_fixed","False","","","Accumulated depreciation for building installations.","ค่าเสื่อมราคาสะสม - งานระบบ","ค่าเสื่อมราคาสะสมสำหรับงานระบบประกอบอาคาร"
|
||||
"l10n_th_account_123220","123220","Construction in Progress","asset_fixed","False","","","Costs accumulated for assets currently being built. Not depreciated until ready for use.","งานระหว่างก่อสร้าง","ต้นทุนสะสมสำหรับสินทรัพย์ที่กำลังก่อสร้าง (ยังไม่คิดค่าเสื่อมจนกว่าจะพร้อมใช้งาน)"
|
||||
"l10n_th_account_123230","123230","Machinery & Tools","asset_fixed","False","","","Machinery and equipment used in production or service delivery.","เครื่องจักรและเครื่องมือ","เครื่องจักรและอุปกรณ์ที่ใช้ในการผลิตหรือให้บริการ"
|
||||
"l10n_th_account_123231","123231","Accum. Depr. - Machinery","asset_fixed","False","","","Accumulated depreciation for machinery.","ค่าเสื่อมราคาสะสม - เครื่องจักร","ค่าเสื่อมราคาสะสมสำหรับเครื่องจักร"
|
||||
"l10n_th_account_123240","123240","Major Spare Parts (Stand-by)","asset_fixed","False","","","High-value spares expected to be used for >1 year (TFRS NPAEs).","อะไหล่หลัก (สำรองไว้ใช้งาน)","อะไหล่มูลค่าสูงที่คาดว่าจะใช้งานเกิน 1 ปี (ตามมาตรฐาน TFRS for NPAEs)"
|
||||
"l10n_th_account_123241","123241","Accum. Depr. - Major Spares","asset_fixed","False","","","Accumulated depreciation for major spare parts.","ค่าเสื่อมราคาสะสม - อะไหล่หลัก","ค่าเสื่อมราคาสะสมสำหรับอะไหล่หลัก"
|
||||
"l10n_th_account_123250","123250","Vehicles","asset_fixed","False","","","Cost of company cars, trucks, or motorcycles.","ยานพาหนะ","ราคาทุนของรถยนต์ รถบรรทุก หรือรถจักรยานยนต์ของบริษัท"
|
||||
"l10n_th_account_123251","123251","Accum. Depr. - Vehicles","asset_fixed","False","","","Accumulated depreciation for vehicles.","ค่าเสื่อมราคาสะสม - ยานพาหนะ","ค่าเสื่อมราคาสะสมสำหรับยานพาหนะ"
|
||||
"l10n_th_account_123260","123260","Vehicle Accessories","asset_fixed","False","","","Modifications or add-ons to vehicles.","อุปกรณ์ตกแต่งยานพาหนะ","การดัดแปลงหรืออุปกรณ์เสริมที่ติดตั้งเพิ่มในยานพาหนะ"
|
||||
"l10n_th_account_123261","123261","Accum. Depr. - Vehicle Acc.","asset_fixed","False","","","Accumulated depreciation for vehicle accessories.","ค่าเสื่อมราคาสะสม - อุปกรณ์รถยนต์","ค่าเสื่อมราคาสะสมสำหรับอุปกรณ์ตกแต่งยานพาหนะ"
|
||||
"l10n_th_account_123270","123270","Furniture & Fixtures","asset_fixed","False","","","Office furniture, desks, chairs, and fixtures.","เครื่องตกแต่งและติดตั้ง","เฟอร์นิเจอร์สำนักงาน โต๊ะ เก้าอี้ และเครื่องตกแต่งต่างๆ"
|
||||
"l10n_th_account_123271","123271","Accum. Depr. - Furniture","asset_fixed","False","","","Accumulated depreciation for furniture.","ค่าเสื่อมราคาสะสม - เครื่องตกแต่ง","ค่าเสื่อมราคาสะสมสำหรับเครื่องตกแต่งและติดตั้ง"
|
||||
"l10n_th_account_123280","123280","Technology & Computers","asset_fixed","False","","","Laptops, servers, and IT hardware.","คอมพิวเตอร์และอุปกรณ์ไอที","แล็ปท็อป เซิร์ฟเวอร์ และฮาร์ดแวร์ไอทีต่างๆ"
|
||||
"l10n_th_account_123281","123281","Accum. Depr. - Technology","asset_fixed","False","","","Accumulated depreciation for technology.","ค่าเสื่อมราคาสะสม - คอมพิวเตอร์","ค่าเสื่อมราคาสะสมสำหรับคอมพิวเตอร์และอุปกรณ์ไอที"
|
||||
"l10n_th_account_123290","123290","Other Fixed Assets","asset_fixed","False","","","Miscellaneous fixed assets not categorized above.","สินทรัพย์ถาวรอื่น","สินทรัพย์ถาวรเบ็ดเตล็ดที่ไม่ได้จัดเข้าหมวดหมู่ข้างต้น"
|
||||
"l10n_th_account_123291","123291","Accum. Depr. - Other Assets","asset_fixed","False","","","Accumulated depreciation for other assets.","ค่าเสื่อมราคาสะสม - สินทรัพย์อื่น","ค่าเสื่อมราคาสะสมสำหรับสินทรัพย์ถาวรอื่น"
|
||||
"l10n_th_account_124100","124100","Computer Software","asset_non_current","False","","","Intangible assets for purchased software licenses.","โปรแกรมคอมพิวเตอร์ (ซอฟต์แวร์)","สินทรัพย์ไม่มีตัวตนสำหรับค่าลิขสิทธิ์ซอฟต์แวร์ที่ซื้อมา"
|
||||
"l10n_th_account_124101","124101","Accum. Amortization - Software","asset_non_current","False","","","Accumulated amortization for software.","ค่าตัดจำหน่ายสะสม - ซอฟต์แวร์","ค่าตัดจำหน่ายสะสมสำหรับซอฟต์แวร์"
|
||||
"l10n_th_account_124200","124200","Goodwill","asset_non_current","False","","","Excess payment over net assets acquired in a business combination.","ค่าความนิยม","ส่วนเกินของเงินที่จ่ายซื้อกิจการที่สูงกว่ามูลค่าสินทรัพย์สุทธิที่ได้มา"
|
||||
"l10n_th_account_124201","124201","Accum. Amortization - Goodwill","asset_non_current","False","","","Accumulated amortization for goodwill.","ค่าตัดจำหน่ายสะสม - ค่าความนิยม","ค่าตัดจำหน่ายสะสมสำหรับค่าความนิยม"
|
||||
"l10n_th_account_211100","211100","Bank Overdrafts","liability_current","True","","","Negative bank balance repayable on demand.","เงินเบิกเกินบัญชีธนาคาร (O/D)","ยอดคงเหลือติดลบในธนาคารที่ต้องชำระคืนเมื่อทวงถาม"
|
||||
"l10n_th_account_211200","211200","Short-term Loans","liability_current","True","","","Bank loans or borrowings due within one year.","เงินกู้ยืมระยะสั้น","เงินกู้ยืมธนาคารหรือหนี้สินที่มีกำหนดชำระคืนภายใน 1 ปี"
|
||||
"l10n_th_account_212100","212100","Trade Payables","liability_payable","True","","","Amounts owed to suppliers for goods or services purchased on credit.","เจ้าหนี้การค้า","ยอดเงินที่ค้างชำระซัพพลายเออร์สำหรับสินค้าหรือบริการที่ซื้อเชื่อ (เครดิต)"
|
||||
"l10n_th_account_212200","212200","Other Payables","liability_current","True","","","Non-trade obligations (e.g., payables to directors).","เจ้าหนี้อื่น","หนี้สินที่ไม่ใช่การค้า (เช่น เงินค้างจ่ายกรรมการ)"
|
||||
"l10n_th_account_212300","212300","Accrued Expenses","liability_current","True","","","Estimated liabilities for services received but not yet billed.","ค่าใช้จ่ายค้างจ่าย","หนี้สินประมาณการสำหรับบริการที่ได้รับแล้วแต่ยังไม่ได้วางบิล"
|
||||
"l10n_th_account_212400","212400","Advances from Customers","liability_current","True","","","Deposit/Downpayment received from customers. Reconcile against the final Customer Invoice.","เงินรับล่วงหน้าจากลูกค้า","เงินมัดจำหรือเงินดาวน์ที่ได้รับจากลูกค้า (กระทบยอดเมื่อออกใบแจ้งหนี้จริง)"
|
||||
"l10n_th_account_213100","213100","Undue Output VAT","liability_current","True","","","Suspense VAT: Output tax on service invoices issued but not yet paid.","ภาษีขายยังไม่ถึงกำหนด","ภาษีพัก: ภาษีขายจากการวางบิลค่าบริการที่ยังไม่ได้รับชำระเงิน"
|
||||
"l10n_th_account_213200","213200","Output VAT","liability_current","True","","","Net VAT liability (Output VAT - Input VAT) to be remitted to Revenue Dept (PP.30).","ภาษีขาย","ภาระภาษีมูลค่าเพิ่มสุทธิ (ภาษีขาย - ภาษีซื้อ) ที่ต้องนำส่งกรมสรรพากร (ภ.พ. 30)"
|
||||
"l10n_th_account_213300","213300","Tax Withheld - PND 1","liability_current","True","","","Tax deducted from Employee Salaries. Remit monthly via form PND 1.","ภาษีหัก ณ ที่จ่าย - ภ.ง.ด. 1","ภาษีที่หักจากเงินเดือนพนักงาน นำส่งรายเดือนด้วยแบบ ภ.ง.ด. 1"
|
||||
"l10n_th_account_213301","213301","Tax Withheld - PND 3","liability_current","True","","","Tax deducted from Individual Suppliers. Remit monthly via form PND 3.","ภาษีหัก ณ ที่จ่าย - ภ.ง.ด. 3","ภาษีที่หักจากบุคคลธรรมดา นำส่งรายเดือนด้วยแบบ ภ.ง.ด. 3"
|
||||
"l10n_th_account_213302","213302","Tax Withheld - PND 53","liability_current","True","","","Tax deducted from Juristic (Company) Suppliers. Remit monthly via form PND 53.","ภาษีหัก ณ ที่จ่าย - ภ.ง.ด. 53","ภาษีที่หักจากนิติบุคคล นำส่งรายเดือนด้วยแบบ ภ.ง.ด. 53"
|
||||
"l10n_th_account_213303","213303","Tax Withheld - PND 54","liability_current","True","","","Tax deducted from payments sent Overseas. Remit via form PND 54.","ภาษีหัก ณ ที่จ่าย - ภ.ง.ด. 54","ภาษีที่หักจากการจ่ายเงินไปต่างประเทศ นำส่งด้วยแบบ ภ.ง.ด. 54"
|
||||
"l10n_th_account_213400","213400","VAT Payable","liability_payable","True","","","VAT Payable: Tax collected from sales. To be remitted to Revenue Dept (PP.30).","ภาษีมูลค่าเพิ่มค้างจ่าย","ภาษีมูลค่าเพิ่มที่เก็บจากการขาย เตรียมนำส่งกรมสรรพากร (ภ.พ. 30)"
|
||||
"l10n_th_account_213500","213500","WHT Payable","liability_payable","True","","True","Net WHT liability moved here from PND specific accounts at month-end for lump-sum payment to Revenue Dept.","ภาษีหัก ณ ที่จ่ายค้างจ่าย","ยอดรวมภาษีหัก ณ ที่จ่ายที่โอนมาจากบัญชีย่อย เพื่อเตรียมจ่ายสรรพากร"
|
||||
"l10n_th_account_213600","213600","Corporate Income Tax Payable","liability_current","True","","","Accrued corporate income tax liability for the year.","ภาษีเงินได้นิติบุคคลค้างจ่าย","ภาระภาษีเงินได้นิติบุคคลค้างจ่ายสำหรับปี"
|
||||
"l10n_th_account_216100","216100","Provisions for Employee Benefits","liability_current","True","","","Short-term liabilities for employee benefits like severance.","ประมาณการหนี้สินผลประโยชน์พนักงาน","หนี้สินระยะสั้นสำหรับผลประโยชน์พนักงาน เช่น ค่าชดเชย"
|
||||
"l10n_th_account_221100","221100","Long-Term Loans","liability_non_current","False","","","Bank loans or borrowings due after more than one year.","เงินกู้ยืมระยะยาว","เงินกู้ยืมธนาคารที่มีกำหนดชำระคืนเกินกว่า 1 ปี"
|
||||
"l10n_th_account_222100","222100","Employee Benefit Obligations","liability_non_current","False","","","Long-term post-employment benefit obligations.","ภาระผูกพันผลประโยชน์พนักงาน","ภาระผูกพันผลประโยชน์พนักงานหลังออกจากงาน (ระยะยาว)"
|
||||
"l10n_th_account_223100","223100","Deferred Income (Gov Grants)","liability_non_current","False","","","Grant income received but not yet recognized as revenue.","รายได้รับล่วงหน้า (เงินอุดหนุนรัฐ)","รายได้จากเงินอุดหนุนที่ได้รับแล้ว แต่ยังไม่ได้รับรู้เป็นรายได้"
|
||||
"l10n_th_account_311100","311100","Share Capital","equity","False","","","Par value of shares issued and paid-up.","ทุนจดทะเบียน / ทุนเรือนหุ้น","มูลค่าพาร์ของหุ้นที่ออกและชำระแล้ว"
|
||||
"l10n_th_account_321100","321100","Legal Reserve","equity","False","","","Profits set aside by law (10% of capital), cannot be distributed.","สำรองตามกฎหมาย","กำไรที่กันไว้ตามกฎหมาย (10% ของทุน) ไม่สามารถนำมาปันผลได้"
|
||||
"l10n_th_account_321200","321200","Retained Earnings","equity","False","","","Accumulated profits available for dividend distribution.","กำไรสะสม","กำไรสะสมที่สามารถนำมาจ่ายเงินปันผลได้"
|
||||
"l10n_th_account_411100","411100","Sales Revenue","income","False","","","Revenue from sale of goods (recognized upon delivery/transfer of risk).","รายได้จากการขาย","รายได้จากการขายสินค้า (รับรู้รายได้เมื่อส่งมอบ/โอนความเสี่ยง)"
|
||||
"l10n_th_account_411200","411200","Service Revenue","income","False","","","Revenue from services (recognized by stage of completion).","รายได้ค่าบริการ","รายได้จากการให้บริการ (รับรู้รายได้ตามขั้นความสำเร็จของงาน)"
|
||||
"l10n_th_account_411300","411300","Sales Returns and Allowances","income","False","","","Contra-revenue account for customer refunds or credits.","รับคืนสินค้าและส่วนลดจ่าย","บัญชีปรับลดรายได้จากการคืนเงินหรือรับคืนสินค้าจากลูกค้า"
|
||||
"l10n_th_account_411400","411400","Sales Discounts","income","False","","","Contra-revenue account for discounts given.","ส่วนลดจ่าย (ส่วนลดเงินสด)","บัญชีปรับลดรายได้จากส่วนลดที่ให้ลูกค้า"
|
||||
"l10n_th_account_421100","421100","Interest Income","income_other","False","","","Income earned from bank deposits or loans provided.","ดอกเบี้ยรับ","รายได้ดอกเบี้ยจากเงินฝากธนาคารหรือเงินให้กู้ยืม"
|
||||
"l10n_th_account_421200","421200","Dividend Income","income_other","False","","","Income received from share investments.","เงินปันผลรับ","รายได้เงินปันผลจากการลงทุนในหุ้น"
|
||||
"l10n_th_account_421300","421300","Gain on Exchange Rate","income_other","False","","","Profit from currency fluctuations on foreign transactions.","กำไรจากอัตราแลกเปลี่ยน","กำไรจากความผันผวนของค่าเงินในธุรกรรมต่างประเทศ"
|
||||
"l10n_th_account_421400","421400","Government Grant Income","income_other","False","","","Income recognized from government subsidies/grants.","รายได้เงินอุดหนุนจากรัฐบาล","รายได้ที่รับรู้จากเงินอุดหนุนของรัฐบาล"
|
||||
"l10n_th_account_421500","421500","Purchase Discounts","income_other","False","","","Early Pay Gain: Discounts received from suppliers for early payment.","ส่วนลดรับ","กำไรจากการจ่ายชำระเงินเร็ว: ส่วนลดที่ได้รับจากซัพพลายเออร์"
|
||||
"l10n_th_account_421600","421600","Cash Difference Income","income_other","False","","","Cash Diff Income: Cash overages found during reconciliation.","รายได้จากเงินสดเกินบัญชี","รายได้จากเงินสดเกินที่พบระหว่างการกระทบยอด"
|
||||
"l10n_th_account_511100","511100","Cost of Goods Sold","expense_direct_cost","False","","","Direct cost of inventory sold during the period.","ต้นทุนขาย","ต้นทุนทางตรงของสินค้าที่ขายไปในระหว่างงวด"
|
||||
"l10n_th_account_511200","511200","Cost of Services","expense_direct_cost","False","","","Direct costs incurred to provide services (e.g., labor, materials).","ต้นทุนบริการ","ต้นทุนทางตรงที่เกิดขึ้นเพื่อให้บริการ (เช่น ค่าแรง, ค่าวัสดุ)"
|
||||
"l10n_th_account_511300","511300","Inventory Write-down","expense_direct_cost","False","","","Loss from reducing inventory value to Net Realizable Value.","ขาดทุนจากการลดมูลค่าสินค้า","ผลขาดทุนจากการปรับลดมูลค่าสินค้าคงเหลือให้เท่ากับมูลค่าสุทธิที่จะได้รับ"
|
||||
"l10n_th_account_511400","511400","Import fees","expense_direct_cost","False","","","Customs duties, freight, and clearance costs for imported goods.","อากรและค่าธรรมเนียมนำเข้","อากรขาเข้า ค่าระวาง และค่าดำเนินพิธีการศุลกากรสำหรับสินค้านำเข้า"
|
||||
"l10n_th_account_511500","511500","Raw materials Used","expense_direct_cost","False","","","Cost of raw materials consumed in the production process.","วัตถุดิบใช้ไป","ต้นทุนวัตถุดิบที่ใช้ไปในกระบวนการผลิต"
|
||||
"l10n_th_account_511600","511600","General subcontracting","expense_direct_cost","False","","","Fees paid to subcontractors for direct project work.","ค่าจ้างทำของ / ค่าจ้างเหมารายย่อย","ค่าธรรมเนียมที่จ่ายให้ผู้รับเหมาช่วงสำหรับงานโครงการโดยตรง"
|
||||
"l10n_th_account_511700","511700","Freight & Transportation","expense_direct_cost","False","","","Direct cost for transporting raw materials or goods to the warehouse (Freight In).","ค่าขนส่งขาเข้า","ต้นทุนทางตรงในการขนส่งวัตถุดิบหรือสินค้าเข้ามายังคลังสินค้า"
|
||||
"l10n_th_account_611100","611100","Employees compensation","expense","False","","","Salaries, wages, overtime, and bonuses for staff.","เงินเดือนและค่าตอบแทนพนักงาน","เงินเดือน ค่าจ้าง ค่าล่วงเวลา และโบนัสสำหรับพนักงาน"
|
||||
"l10n_th_account_611200","611200","Commissions & Brokerage Fees","expense","False","","","Fees paid to agents, brokers, or intermediaries for facilitating sales or business deals.","ค่านายหน้าและค่าคอมมิชชั่น","ค่าธรรมเนียมที่จ่ายให้ตัวแทน นายหน้า หรือคนกลางในการขาย"
|
||||
"l10n_th_account_611300","611300","Social Security","expense","False","","","Employer's contribution to the Social Security Fund.","เงินสมทบประกันสังคม","เงินสมทบกองทุนประกันสังคมส่วนของนายจ้าง"
|
||||
"l10n_th_account_611400","611400","Other personnel costs","expense","False","","","Staff benefits, vouchers, and other non-salary costs.","ค่าใช้จ่ายเกี่ยวกับพนักงานอื่น","สวัสดิการพนักงาน คูปอง และค่าใช้จ่ายพนักงานอื่นๆ ที่ไม่ใช่เงินเดือน"
|
||||
"l10n_th_account_611500","611500","Training and documentation","expense","False","","","Expenses for staff training courses and educational materials.","ค่าอบรมและสัมมนา","ค่าใช้จ่ายสำหรับหลักสูตรฝึกอบรมพนักงานและเอกสารประกอบ"
|
||||
"l10n_th_account_611600","611600","Royalties & License Fees","expense","False","","","Payments for the use of intellectual property, copyrights, franchises, patents, or specialized licensing rights.","ค่าสิทธิและค่าใบอนุญาต","การจ่ายเงินเพื่อใช้ทรัพย์สินทางปัญญา ลิขสิทธิ์ แฟรนไชส์ หรือสิทธิบัตร"
|
||||
"l10n_th_account_612100","612100","Land Improvements (Depr)","expense_depreciation","False","","","Periodic depreciation charge for land improvements.","ค่าเสื่อมราคา - ส่วนปรับปรุงที่ดิน","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับส่วนปรับปรุงที่ดิน"
|
||||
"l10n_th_account_612200","612200","Buildings (Depr)","expense_depreciation","False","","","Periodic depreciation charge for building structures.","ค่าเสื่อมราคา - อาคาร","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับอาคาร"
|
||||
"l10n_th_account_612300","612300","Building Installations (Depr)","expense_depreciation","False","","","Periodic depreciation charge for building systems.","ค่าเสื่อมราคา - งานระบบ","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับงานระบบอาคาร"
|
||||
"l10n_th_account_612400","612400","Machinery & Tools (Depr)","expense_depreciation","False","","","Periodic depreciation charge for machinery and tools.","ค่าเสื่อมราคา - เครื่องจักร","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับเครื่องจักรและเครื่องมือ"
|
||||
"l10n_th_account_612500","612500","Major Spare Parts (Depr)","expense_depreciation","False","","","Periodic depreciation charge for capitalized spare parts.","ค่าเสื่อมราคา - อะไหล่หลัก","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับอะไหล่หลัก (Capitalized)"
|
||||
"l10n_th_account_612600","612600","Vehicles (Depr)","expense_depreciation","False","","","Periodic depreciation charge for vehicles.","ค่าเสื่อมราคา - ยานพาหนะ","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับยานพาหนะ"
|
||||
"l10n_th_account_612650","612650","Vehicle Accessories (Depr)","expense_depreciation","False","","","Periodic depreciation charge for vehicle add-ons.","ค่าเสื่อมราคา - อุปกรณ์รถยนต์","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับอุปกรณ์ตกแต่งรถยนต์"
|
||||
"l10n_th_account_612700","612700","Furniture & Fixtures (Depr)","expense_depreciation","False","","","Periodic depreciation charge for furniture.","ค่าเสื่อมราคา - เครื่องตกแต่ง","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับเฟอร์นิเจอร์"
|
||||
"l10n_th_account_612800","612800","Technology & Computers (Depr)","expense_depreciation","False","","","Periodic depreciation charge for IT equipment.","ค่าเสื่อมราคา - คอมพิวเตอร์","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับอุปกรณ์ไอที"
|
||||
"l10n_th_account_612900","612900","Other Fixed Assets (Depr)","expense_depreciation","False","","","Periodic depreciation charge for miscellaneous assets.","ค่าเสื่อมราคา - สินทรัพย์อื่น","ค่าใช้จ่ายค่าเสื่อมราคาตามงวดบัญชีสำหรับสินทรัพย์เบ็ดเตล็ด"
|
||||
"l10n_th_account_612950","612950","Computer Software (Amt)","expense_depreciation","False","","","Amortization expense for intangible software assets.","ค่าตัดจำหน่าย - ซอฟต์แวร์","ค่าใช้จ่ายค่าตัดจำหน่ายสำหรับสินทรัพย์ไม่มีตัวตน (ซอฟต์แวร์)"
|
||||
"l10n_th_account_612960","612960","Goodwill (Amt)","expense_depreciation","False","","","Amortization expense for goodwill.","ค่าตัดจำหน่าย - ค่าความนิยม","ค่าใช้จ่ายค่าตัดจำหน่ายสำหรับค่าความนิยม"
|
||||
"l10n_th_account_613100","613100","Office Rent","expense","False","","","Monthly rental fees for office space (Operating Lease).","ค่าเช่าสำนักงาน","ค่าเช่ารายเดือนสำหรับพื้นที่สำนักงาน (สัญญาเช่าดำเนินงาน)"
|
||||
"l10n_th_account_613200","613200","Vehicle rent","expense","False","","","Rental fees for cars or transport vehicles.","ค่าเช่ายานพาหนะ","ค่าเช่ารถยนต์หรือยานพาหนะขนส่ง"
|
||||
"l10n_th_account_613300","613300","Freight & Postage Expenses","expense","False","","","Administrative expenses for courier services, document delivery, and postage.","ค่าไปรษณีย์และค่าขนส่ง (สนง.)","ค่าใช้จ่ายสำนักงานสำหรับบริการรับส่งเอกสารและพัสดุภัณฑ์"
|
||||
"l10n_th_account_614100","614100","Office Maintenance services","expense","False","","","Costs for office cleaning, repairs, and general upkeep.","ค่าบริการดูแลรักษาสำนักงาน","ค่าใช้จ่ายทำความสะอาด ซ่อมแซม และดูแลรักษาสำนักงานทั่วไป"
|
||||
"l10n_th_account_614200","614200","Vehicle maintenance","expense","False","","","Routine repair and maintenance costs for vehicles.","ค่าซ่อมบำรุงยานพาหนะ","ค่าซ่อมแซมและบำรุงรักษายานพาหนะตามปกติ"
|
||||
"l10n_th_account_614300","614300","Studies & works","expense","False","","","Professional fees for research, studies, or external consultations.","ค่าที่ปรึกษาและวิจัย","ค่าวิชาชีพสำหรับการวิจัย การศึกษา หรือที่ปรึกษาภายนอก"
|
||||
"l10n_th_account_615100","615100","Accounting Fees","expense","False","","","Fees paid to external audit or bookkeeping firms.","ค่าทำบัญชี / ค่าสอบบัญชี","ค่าธรรมเนียมที่จ่ายให้สำนักงานบัญชีหรือผู้สอบบัญชีภายนอก"
|
||||
"l10n_th_account_615200","615200","Legal expenses","expense","False","","","Fees paid to lawyers or legal advisors.","ค่าทนายความและกฎหมาย","ค่าธรรมเนียมที่จ่ายให้ทนายความหรือที่ปรึกษากฎหมาย"
|
||||
"l10n_th_account_615300","615300","Administration fees","expense","False","","","General administrative service fees.","ค่าธรรมเนียมการบริหาร","ค่าธรรมเนียมการบริหารจัดการทั่วไป"
|
||||
"l10n_th_account_615400","615400","Membership fees","expense","False","","","Subscriptions to professional clubs or associations.","ค่าสมาชิก","ค่าบำรุงสมาชิกสโมสรหรือสมาคมวิชาชีพต่างๆ"
|
||||
"l10n_th_account_615500","615500","Software Subscription","expense","False","","","Recurring fees for SaaS/Cloud software (not capitalized).","ค่าเช่าใช้ซอฟต์แวร์ (Subscription)","ค่าธรรมเนียมรายงวดสำหรับซอฟต์แวร์ SaaS/Cloud (ไม่บันทึกเป็นสินทรัพย์)"
|
||||
"l10n_th_account_615801","615801","Fire Insurance","expense","False","","","Insurance premiums for property protection against fire/theft.","ค่าเบี้ยประกันอัคคีภัย","เบี้ยประกันสำหรับคุ้มครองทรัพย์สินจากไฟไหม้/โจรกรรม"
|
||||
"l10n_th_account_615802","615802","Professional Insurance","expense","False","","","Insurance premiums for business liability coverage.","ค่าเบี้ยประกันภัยวิชาชีพ","เบี้ยประกันภัยสำหรับความรับผิดทางธุรกิจ"
|
||||
"l10n_th_account_615803","615803","Legal protection Insurance","expense","False","","","Insurance coverage for legal costs.","ประกันภัยคุ้มครองทางกฎหมาย","ความคุ้มครองประกันภัยสำหรับค่าใช้จ่ายทางกฎหมาย"
|
||||
"l10n_th_account_615804","615804","Professional Liability Insurance","expense","False","","","Insurance for errors and omissions.","ประกันภัยความรับผิดทางวิชาชีพ","ประกันภัยสำหรับความผิดพลาดและการละเลยในการปฏิบัติงาน"
|
||||
"l10n_th_account_617100","617100","Advertising","expense","False","","","Costs for marketing campaigns and advertising.","ค่าโฆษณา","ค่าใช้จ่ายสำหรับแคมเปญการตลาดและการโฆษณา"
|
||||
"l10n_th_account_617200","617200","Business gift","expense","False","","","Gifts for clients or partners (Check tax deductibility limits).","ของขวัญธุรกิจ / ของสมนาคุณ","ของขวัญสำหรับลูกค้าหรือคู่ค้า (ตรวจสอบเงื่อนไขภาษีเกี่ยวกับมูลค่า)"
|
||||
"l10n_th_account_618100","618100","Consumables","expense","False","","","Low-value items used immediately (expensed upon purchase).","วัสดุสิ้นเปลืองใช้ไป","รายการมูลค่าต่ำที่ใช้หมดไปทันที (บันทึกเป็นค่าใช้จ่ายเมื่อซื้อ)"
|
||||
"l10n_th_account_618200","618200","Office supplies","expense","False","","","Stationery, paper, ink, and general office supplies.","วัสดุสำนักงาน","เครื่องเขียน กระดาษ หมึกพิมพ์ และอุปกรณ์สำนักงานทั่วไป"
|
||||
"l10n_th_account_618300","618300","Office services","expense","False","","","Utilities, internet, and other general office services.","ค่าบริการสำนักงาน","ค่าสาธารณูปโภค อินเทอร์เน็ต และบริการทั่วไปในสำนักงาน"
|
||||
"l10n_th_account_618400","618400","Water, electricity, gas","expense","False","","","Utility bills for business premises.","ค่าน้ำ ค่าไฟ แก๊ส","บิลค่าสาธารณูปโภคสำหรับสถานที่ประกอบธุรกิจ"
|
||||
"l10n_th_account_618500","618500","Phone & Internet","expense","False","","","Communication and internet service costs.","ค่าโทรศัพท์และอินเทอร์เน็ต","ค่าใช้จ่ายด้านการสื่อสารและบริการอินเทอร์เน็ต"
|
||||
"l10n_th_account_618600","618600","Fuel","expense","False","","","Fuel costs for company vehicles.","ค่าน้ำมันเชื้อเพลิง","ค่าน้ำมันสำหรับยานพาหนะของบริษัท"
|
||||
"l10n_th_account_618700","618700","Property tax","expense","False","","","Annual taxes paid on land and building ownership.","ภาษีที่ดินและสิ่งปลูกสร้าง","ภาษีรายปีที่จ่ายจากการเป็นเจ้าของที่ดินและอาคาร"
|
||||
"l10n_th_account_619101","619101","Flights","expense","False","","","Air travel costs for business purposes.","ค่าตั๋วเครื่องบิน","ค่าเดินทางโดยเครื่องบินเพื่อวัตถุประสงค์ทางธุรกิจ"
|
||||
"l10n_th_account_619102","619102","Hotels","expense","False","","","Accommodation costs during business travel.","ค่าที่พักแรม","ค่าที่พักระหว่างการเดินทางไปติดต่อธุรกิจ"
|
||||
"l10n_th_account_619103","619103","Public Transportation","expense","False","","","Taxi, train, or bus fares for business travel.","ค่าพาหนะเดินทาง","ค่าแท็กซี่ รถไฟ หรือรถโดยสารสำหรับการเดินทางไปติดต่อธุรกิจ"
|
||||
"l10n_th_account_619104","619104","Other travel costs","expense","False","","","Miscellaneous travel expenses (per diems, etc.).","ค่าเดินทางอื่นๆ","ค่าใช้จ่ายการเดินทางเบ็ดเตล็ด (เบี้ยเลี้ยง ฯลฯ)"
|
||||
"l10n_th_account_619200","619200","Bar & Restaurant","expense","False","","","Business meals and entertainment expenses.","ค่ารับรอง (อาหารและเครื่องดื่ม)","ค่าอาหารและการบันเทิงเพื่อธุรกิจ"
|
||||
"l10n_th_account_619300","619300","Food: Reception & delivery","expense","False","","","Catering costs for office events or receptions.","ค่าอาหารรับรองและจัดเลี้ยง","ค่าจัดเลี้ยงสำหรับกิจกรรมในสำนักงานหรือการต้อนรับ"
|
||||
"l10n_th_account_619900","619900","Donations","expense","False","","","Charitable donation.","เงินบริจาค","การบริจาคเพื่อการกุศล"
|
||||
"l10n_th_account_621100","621100","Interest Expense","expense","False","","","Cost of borrowing funds (Finance costs).","ดอกเบี้ยจ่าย","ต้นทุนจากการกู้ยืมเงิน (ต้นทุนทางการเงิน)"
|
||||
"l10n_th_account_621200","621200","Loss on Exchange Rate","expense","False","","","Realized/unrealized losses from currency fluctuations.","ขาดทุนจากอัตราแลกเปลี่ยน","ผลขาดทุนที่เกิดขึ้นจริง/ยังไม่เกิดขึ้นจริงจากความผันผวนของค่าเงิน"
|
||||
"l10n_th_account_622100","622100","Bank fees","expense","False","","","Bank charges, transaction fees, and transfer costs.","ค่าธรรมเนียมธนาคาร","ค่าธรรมเนียมธนาคาร ค่าทำธุรกรรม และค่าโอนเงิน"
|
||||
"l10n_th_account_622200","622200","Cash Difference Loss","expense","False","","","Cash Diff Expense: Cash shortages found during reconciliation or rounding.","ขาดทุนจากเงินสดขาดบัญชี","ค่าใช้จ่ายจากเงินสดขาดบัญชีที่พบระหว่างการกระทบยอดหรือปัดเศษ"
|
||||
"l10n_th_account_631100","631100","Corporate Income Tax","expense","False","","","Annual tax expense on net profit.","ภาษีเงินได้นิติบุคคล (ค่าใช้จ่าย)","ค่าใช้จ่ายภาษีประจำปีคำนวณจากกำไรสุทธิ"
|
||||
"l10n_th_account_999999","999999","Current Year Earnings","equity_unaffected","False","","","Automated account for current year profit/loss accumulation.","กำไร(ขาดทุน) สุทธิประจำปี","บัญชีอัตโนมัติสำหรับสะสมกำไรหรือขาดทุนในปีปัจจุบัน"
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
"id","name","method","method_number","method_period","account_asset_id","account_depreciation_id","account_depreciation_expense_id","name@th_TH"
|
||||
"l10n_th_asset_land_improvements","Land Improvements","linear","20","12","l10n_th_account_123150","l10n_th_account_123151","l10n_th_account_612100","ส่วนปรับปรุงที่ดิน"
|
||||
"l10n_th_asset_buildings_structure","Buildings (Structure)","linear","20","12","l10n_th_account_123200","l10n_th_account_123201","l10n_th_account_612200","อาคาร (โครงสร้าง)"
|
||||
"l10n_th_asset_building_installations","Building Installations","linear","10","12","l10n_th_account_123210","l10n_th_account_123211","l10n_th_account_612300","งานระบบประกอบอาคาร"
|
||||
"l10n_th_asset_machinery_tools","Machinery & Tools","linear","5","12","l10n_th_account_123230","l10n_th_account_123231","l10n_th_account_612400","เครื่องจักรและเครื่องมือ"
|
||||
"l10n_th_asset_major_spare_parts_stand_by","Major Spare Parts (Stand-by)","linear","5","12","l10n_th_account_123240","l10n_th_account_123241","l10n_th_account_612500","อะไหล่หลัก (สำรองไว้ใช้งาน)"
|
||||
"l10n_th_asset_vehicles","Vehicles","linear","5","12","l10n_th_account_123250","l10n_th_account_123251","l10n_th_account_612600","ยานพาหนะ"
|
||||
"l10n_th_asset_vehicle_accessories","Vehicle Accessories","linear","5","12","l10n_th_account_123260","l10n_th_account_123261","l10n_th_account_612650","อุปกรณ์ตกแต่งยานพาหนะ"
|
||||
"l10n_th_asset_furniture_fixtures","Furniture & Fixtures","linear","5","12","l10n_th_account_123270","l10n_th_account_123271","l10n_th_account_612700","เครื่องตกแต่งและติดตั้ง"
|
||||
"l10n_th_asset_technology_computers","Technology & Computers","linear","3","12","l10n_th_account_123280","l10n_th_account_123281","l10n_th_account_612800","คอมพิวเตอร์และอุปกรณ์ไอที"
|
||||
"l10n_th_asset_other_fixed_assets","Other Fixed Assets","linear","5","12","l10n_th_account_123290","l10n_th_account_123291","l10n_th_account_612900","สินทรัพย์ถาวรอื่น"
|
||||
"l10n_th_asset_computer_software","Computer Software","linear","3","12","l10n_th_account_124100","l10n_th_account_124101","l10n_th_account_612950","โปรแกรมคอมพิวเตอร์ (ซอฟต์แวร์)"
|
||||
"l10n_th_asset_goodwill","Goodwill","linear","20","12","l10n_th_account_124200","l10n_th_account_124201","l10n_th_account_612960","ค่าความนิยม"
|
||||
|
|
|
@ -0,0 +1,73 @@
|
|||
"id","name","description","invoice_label","amount_type","amount","type_tax_use","tax_group_id","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","price_include_override","fiscal_position_ids","original_tax_ids","description@th_TH"
|
||||
"tax_input_vat","7%","Input VAT 7%","","percent","7.0","purchase","tax_group_vat_7","base","invoice","6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation","","","","","ภาษีซื้อที่ขอคืนได้ตามปกติ (อัตรามาตรฐาน 7%)"
|
||||
"","","","","","","","","tax","invoice","7. Input tax (according to invoice of purchase amount in 6.)","l10n_th_account_114200","","","",""
|
||||
"","","","","","","","","base","refund","6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation","","","","",""
|
||||
"","","","","","","","","tax","refund","7. Input tax (according to invoice of purchase amount in 6.)","l10n_th_account_114200","","","",""
|
||||
"tax_output_vat","7%","Output VAT 7%","","percent","7.0","sale","tax_group_vat_7","base","invoice","1. Sales amount","","","","","ภาษีขายที่ต้องนำส่งกรมสรรพากร (อัตรามาตรฐาน 7%)"
|
||||
"","","","","","","","","tax","invoice","5. Output tax","l10n_th_account_213200","","","",""
|
||||
"","","","","","","","","base","refund","1. Sales amount","","","","",""
|
||||
"","","","","","","","","tax","refund","5. Output tax","l10n_th_account_213200","","","",""
|
||||
"tax_input_vat_0","0%","Input VAT 0%","","percent","0.0","purchase","","base","invoice","6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation","","","","","ภาษีซื้อสำหรับสินค้า/บริการที่มีอัตรา 0% (เช่น การขนส่งระหว่างประเทศบางประเภท)"
|
||||
"","","","","","","","","tax","invoice","7. Input tax (according to invoice of purchase amount in 6.)","l10n_th_account_114200","","","",""
|
||||
"","","","","","","","","base","refund","6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation","","","","",""
|
||||
"","","","","","","","","tax","refund","7. Input tax (according to invoice of purchase amount in 6.)","l10n_th_account_114200","","","",""
|
||||
"tax_output_vat_0","0%","Output VAT 0%","","percent","0.0","sale","","base","invoice","1. Sales amount||2. Less sales subject to 0% tax rate","","","","","ภาษีขายสำหรับกิจการที่ได้รับสิทธิอัตรา 0% (เช่น การส่งออก)"
|
||||
"","","","","","","","","tax","invoice","5. Output tax","l10n_th_account_213200","","","",""
|
||||
"","","","","","","","","base","refund","1. Sales amount||2. Less sales subject to 0% tax rate","","","","",""
|
||||
"","","","","","","","","tax","refund","5. Output tax","l10n_th_account_213200","","","",""
|
||||
"tax_input_vat_exempted","0% EXEMPT","Input VAT Exempted","","percent","0.0","purchase","","base","invoice","6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation","","","","","ภาษีซื้อจากกิจการที่ได้รับยกเว้นภาษี หรือภาษีซื้อต้องห้ามที่กฎหมายไม่อนุญาตให้ขอคืน"
|
||||
"","","","","","","","","tax","invoice","7. Input tax (according to invoice of purchase amount in 6.)","l10n_th_account_114200","","","",""
|
||||
"","","","","","","","","base","refund","6. Purchase amount that is entitled to deduction of input tax from output tax in tax computation","","","","",""
|
||||
"","","","","","","","","tax","refund","7. Input tax (according to invoice of purchase amount in 6.)","l10n_th_account_114200","","","",""
|
||||
"tax_output_vat_exempted","0% EXEMPT","Output VAT Exempted","","percent","0.0","sale","","base","invoice","1. Sales amount||3. Less exempted sales","","","","","การขายสินค้าหรือบริการที่ได้รับยกเว้นภาษีมูลค่าเพิ่ม (เช่น ขายพืชผลทางการเกษตร, ค่าเช่าที่พักอาศัย)"
|
||||
"","","","","","","","","tax","invoice","5. Output tax","l10n_th_account_213200","","","",""
|
||||
"","","","","","","","","base","refund","1. Sales amount||3. Less exempted sales","","","","",""
|
||||
"","","","","","","","","tax","refund","5. Output tax","l10n_th_account_213200","","","",""
|
||||
"tax_wht_co_1","1% WH C T","Company Withholding Tax 1% (Transportation)","","percent","-1.0","purchase","tax_group_1","base","invoice","Income PND53","","","","","ภาษีหัก ณ ที่จ่าย 1% - ค่าขนส่ง (ภ.ง.ด.53 นิติบุคคล)"
|
||||
"","","","","","","","","tax","invoice","PND53","l10n_th_account_213302","","","",""
|
||||
"","","","","","","","","base","refund","Income PND53","","","","",""
|
||||
"","","","","","","","","tax","refund","PND53","l10n_th_account_213302","","","",""
|
||||
"tax_wht_co_2","2% WH C A","Company Withholding Tax 2% (Advertising)","","percent","-2.0","purchase","tax_group_2","base","invoice","Income PND53","","","","","ภาษีหัก ณ ที่จ่าย 2% - ค่าโฆษณา (ภ.ง.ด.53 นิติบุคคล)"
|
||||
"","","","","","","","","tax","invoice","PND53","l10n_th_account_213302","","","",""
|
||||
"","","","","","","","","base","refund","Income PND53","","","","",""
|
||||
"","","","","","","","","tax","refund","PND53","l10n_th_account_213302","","","",""
|
||||
"tax_wht_co_3","3% WH C S","Company Withholding Tax 3% (Service)","","percent","-3.0","purchase","tax_group_3","base","invoice","Income PND53","","","","","ภาษีหัก ณ ที่จ่าย 3% - ค่าบริการ (ภ.ง.ด.53 นิติบุคคล)"
|
||||
"","","","","","","","","tax","invoice","PND53","l10n_th_account_213302","","","",""
|
||||
"","","","","","","","","base","refund","Income PND53","","","","",""
|
||||
"","","","","","","","","tax","refund","PND53","l10n_th_account_213302","","","",""
|
||||
"tax_wht_co_5","5% WH C R","Company Withholding Tax 5% (Rental)","","percent","-5.0","purchase","tax_group_5","base","invoice","Income PND53","","","","","ภาษีหัก ณ ที่จ่าย 5% - ค่าเช่า (ภ.ง.ด.53 นิติบุคคล)"
|
||||
"","","","","","","","","tax","invoice","PND53","l10n_th_account_213302","","","",""
|
||||
"","","","","","","","","base","refund","Income PND53","","","","",""
|
||||
"","","","","","","","","tax","refund","PND53","l10n_th_account_213302","","","",""
|
||||
"tax_wht_pers_1","1% WH P T","Personal Withholding Tax 1% (Transportation)","","percent","-1.0","purchase","tax_group_1","base","invoice","Income PND3","","","","","ภาษีหัก ณ ที่จ่าย 1% - ค่าขนส่ง (ภ.ง.ด.3 บุคคลธรรมดา)"
|
||||
"","","","","","","","","tax","invoice","PND3","l10n_th_account_213301","","","",""
|
||||
"","","","","","","","","base","refund","Income PND3","","","","",""
|
||||
"","","","","","","","","tax","refund","PND3","l10n_th_account_213301","","","",""
|
||||
"tax_wht_pers_2","2% WH P A","Personal Withholding Tax 2% (Advertising)","","percent","-2.0","purchase","tax_group_2","base","invoice","Income PND3","","","","","ภาษีหัก ณ ที่จ่าย 2% - ค่าโฆษณา (ภ.ง.ด.3 บุคคลธรรมดา)"
|
||||
"","","","","","","","","tax","invoice","PND3","l10n_th_account_213301","","","",""
|
||||
"","","","","","","","","base","refund","Income PND3","","","","",""
|
||||
"","","","","","","","","tax","refund","PND3","l10n_th_account_213301","","","",""
|
||||
"tax_wht_pers_3","3% WH P S","Personal Withholding Tax 3% (Service)","","percent","-3.0","purchase","tax_group_3","base","invoice","Income PND3","","","","","ภาษีหัก ณ ที่จ่าย 3% - ค่าบริการ (ภ.ง.ด.3 บุคคลธรรมดา)"
|
||||
"","","","","","","","","tax","invoice","PND3","l10n_th_account_213301","","","",""
|
||||
"","","","","","","","","base","refund","Income PND3","","","","",""
|
||||
"","","","","","","","","tax","refund","PND3","l10n_th_account_213301","","","",""
|
||||
"tax_wht_pers_5","5% WH P R","Personal Withholding Tax 5% (Rental)","","percent","-5.0","purchase","tax_group_5","base","invoice","Income PND3","","","","","ภาษีหัก ณ ที่จ่าย 5% - ค่าเช่า (ภ.ง.ด.3 บุคคลธรรมดา)"
|
||||
"","","","","","","","","tax","invoice","PND3","l10n_th_account_213301","","","",""
|
||||
"","","","","","","","","base","refund","Income PND3","","","","",""
|
||||
"","","","","","","","","tax","refund","PND3","l10n_th_account_213301","","","",""
|
||||
"tax_wht_income_1","1% WH T","Withholding Income Tax 1% (Transportation)","","percent","-1.0","sale","tax_group_1","base","invoice","","","tax_excluded","","","ภาษีถูกหัก ณ ที่จ่าย 1% - ค่าขนส่ง (สินทรัพย์รอเครดิตภาษี)"
|
||||
"","","","","","","","","tax","invoice","","l10n_th_account_114300","","","",""
|
||||
"","","","","","","","","base","refund","","","","","",""
|
||||
"","","","","","","","","tax","refund","","l10n_th_account_114300","","","",""
|
||||
"tax_wht_income_2","2% WH A","Withholding Income Tax 2% (Advertising)","","percent","-2.0","sale","tax_group_2","base","invoice","","","tax_excluded","","","ภาษีถูกหัก ณ ที่จ่าย 2% - ค่าโฆษณา (สินทรัพย์รอเครดิตภาษี)"
|
||||
"","","","","","","","","tax","invoice","","l10n_th_account_114300","","","",""
|
||||
"","","","","","","","","base","refund","","","","","",""
|
||||
"","","","","","","","","tax","refund","","l10n_th_account_114300","","","",""
|
||||
"tax_wht_income_3","3% WH S","Withholding Income Tax 3% (Service)","","percent","-3.0","sale","tax_group_3","base","invoice","","","tax_excluded","","","ภาษีถูกหัก ณ ที่จ่าย 3% - ค่าบริการ (สินทรัพย์รอเครดิตภาษี)"
|
||||
"","","","","","","","","tax","invoice","","l10n_th_account_114300","","","",""
|
||||
"","","","","","","","","base","refund","","","","","",""
|
||||
"","","","","","","","","tax","refund","","l10n_th_account_114300","","","",""
|
||||
"tax_wht_income_5","5% WH R","Withholding Income Tax 5% (Rental)","","percent","-5.0","sale","tax_group_5","base","invoice","","","tax_excluded","","","ภาษีถูกหัก ณ ที่จ่าย 5% - ค่าเช่า (สินทรัพย์รอเครดิตภาษี)"
|
||||
"","","","","","","","","tax","invoice","","l10n_th_account_114300","","","",""
|
||||
"","","","","","","","","base","refund","","","","","",""
|
||||
"","","","","","","","","tax","refund","","l10n_th_account_114300","","","",""
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
"id","name","country_id","tax_payable_account_id","tax_receivable_account_id","name@th_TH"
|
||||
"tax_group_1","WHT 1%","base.th","l10n_th_account_213500","l10n_th_account_114401","หัก ณ ที่จ่าย 1%"
|
||||
"tax_group_2","WHT 2%","base.th","l10n_th_account_213500","l10n_th_account_114401","หัก ณ ที่จ่าย 2%"
|
||||
"tax_group_3","WHT 3%","base.th","l10n_th_account_213500","l10n_th_account_114401","หัก ณ ที่จ่าย 3%"
|
||||
"tax_group_5","WHT 5%","base.th","l10n_th_account_213500","l10n_th_account_114401","หัก ณ ที่จ่าย 5%"
|
||||
"tax_group_vat_7","VAT 7%","base.th","l10n_th_account_213400","l10n_th_account_114400","ภาษีมูลค่าเพิ่ม 7%"
|
||||
|
|
|
@ -1,34 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="partner_demo_company_th" model="res.partner">
|
||||
<record id="base.partner_demo_company_th" model="res.partner" forcecreate="1">
|
||||
<field name="name">TH Company</field>
|
||||
<field name="vat"></field>
|
||||
<field name="vat"/>
|
||||
<field name="street">A5</field>
|
||||
<field name="city">บ้านสันทราย</field>
|
||||
<field name="country_id" ref="base.th"/>
|
||||
|
||||
|
||||
<field name="zip">50220</field>
|
||||
<field name="phone">+66 81 234 5678</field>
|
||||
<field name="email">info@company.thexample.com</field>
|
||||
<field name="website">www.thexample.com</field>
|
||||
<field name="is_company" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="demo_company_th" model="res.company">
|
||||
<record id="base.demo_company_th" model="res.company" forcecreate="1">
|
||||
<field name="name">TH Company</field>
|
||||
<field name="partner_id" ref="partner_demo_company_th"/>
|
||||
<field name="partner_id" ref="base.partner_demo_company_th"/>
|
||||
</record>
|
||||
|
||||
<function model="res.company" name="_onchange_country_id">
|
||||
<value eval="[ref('demo_company_th')]"/>
|
||||
<value eval="[ref('base.demo_company_th')]"/>
|
||||
</function>
|
||||
|
||||
<function model="res.users" name="write">
|
||||
<value eval="[ref('base.user_root'), ref('base.user_admin'), ref('base.user_demo')]"/>
|
||||
<value eval="{'company_ids': [(4, ref('l10n_th.demo_company_th'))]}"/>
|
||||
<value eval="{'company_ids': [(4, ref('base.demo_company_th'))]}"/>
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_th.chart')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_th.demo_company_th')"/>
|
||||
<value eval="[]"/>
|
||||
<value>th</value>
|
||||
<value model="res.company" eval="obj().env.ref('base.demo_company_th')"/>
|
||||
<value name="install_demo" eval="True"/>
|
||||
</function>
|
||||
</odoo>
|
||||
|
|
|
|||
156
odoo-bringout-oca-ocb-l10n_th/l10n_th/i18n/l10n_th.pot
Normal file
156
odoo-bringout-oca-ocb-l10n_th/l10n_th/i18n/l10n_th.pot
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_th
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 19.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-01-15 19:07+0000\n"
|
||||
"PO-Revision-Date: 2026-01-15 19:07+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_account_chart_template
|
||||
msgid "Account Chart Template"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_res_partner_bank
|
||||
msgid "Bank Accounts"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_partner.py:0
|
||||
msgid "Branch %(code)s"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid "Can't generate a PayNow QR code with a currency other than THB."
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.actions.report,name:l10n_th.action_report_commercial_invoice
|
||||
msgid "Commercial Invoice"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,website_form_label:l10n_th.model_res_partner
|
||||
msgid "Create a Customer"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_chart_template__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_move__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_ir_actions_report__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner_bank__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields.selection,name:l10n_th.selection__res_partner_bank__proxy_type__ewallet_id
|
||||
msgid "Ewallet ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_partner.py:0
|
||||
msgid "Headquarter"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_chart_template__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_move__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_ir_actions_report__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner_bank__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_account_move
|
||||
msgid "Journal Entry"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner__l10n_th_branch_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_users__l10n_th_branch_name
|
||||
msgid "L10N Th Branch Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields.selection,name:l10n_th.selection__res_partner_bank__proxy_type__merchant_tax_id
|
||||
msgid "Merchant Tax ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields.selection,name:l10n_th.selection__res_partner_bank__proxy_type__mobile
|
||||
msgid "Mobile Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/ir_actions_report.py:0
|
||||
msgid "Only invoices could be printed."
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_setup_bank_manual_config__proxy_type
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner_bank__proxy_type
|
||||
msgid "Proxy Type"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_ir_actions_report
|
||||
msgid "Report Action"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_th.report_invoice_document
|
||||
msgid "Tax Invoice"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"The Merchant Tax ID must be in the format 1234567890123 for account number "
|
||||
"%s."
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"The Mobile Number must be in the format 0812345678 for account number %s."
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"The PayNow Type must be either Ewallet ID, Merchant Tax ID or Mobile Number "
|
||||
"to generate a Thailand Bank QR code"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"The QR Code Type must be either Ewallet ID, Merchant Tax ID or Mobile Number"
|
||||
" to generate a Thailand Bank QR code for account number %s."
|
||||
msgstr ""
|
||||
|
|
@ -6,165 +6,157 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-03-22 02:16+0000\n"
|
||||
"PO-Revision-Date: 2023-03-22 02:16+0000\n"
|
||||
"POT-Creation-Date: 2026-01-15 19:07+0000\n"
|
||||
"PO-Revision-Date: 2025-01-22 10:30+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: th\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 3.5\n"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_out_tax_sale
|
||||
msgid "1. Sales amount"
|
||||
#: model:ir.model,name:l10n_th.model_account_chart_template
|
||||
msgid "Account Chart Template"
|
||||
msgstr "เทมเพลตแผนภูมิบัญชี"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_res_partner_bank
|
||||
msgid "Bank Accounts"
|
||||
msgstr "บัญชีธนาคาร"
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_partner.py:0
|
||||
msgid "Branch %(code)s"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_vat_payment_last_period
|
||||
msgid "10. Excess tax payment carried forward from last period"
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid "Can't generate a PayNow QR code with a currency other than THB."
|
||||
msgstr "ไม่สามารถสร้างรหัส QR โค้ดของ PayNow ด้วยสกุลเงินอื่นนอกเหนือจาก THB ได้"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.actions.report,name:l10n_th.action_report_commercial_invoice
|
||||
msgid "Commercial Invoice"
|
||||
msgstr "ใบกำกับสินค้าพาณิชย์"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr "รายชื่อผู้ติดต่อ"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,website_form_label:l10n_th.model_res_partner
|
||||
msgid "Create a Customer"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_net_vat_payable
|
||||
msgid "11. Net tax payable (if 8. is greater than 10.)"
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_chart_template__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_move__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_ir_actions_report__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner_bank__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "ชื่อที่แสดง"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields.selection,name:l10n_th.selection__res_partner_bank__proxy_type__ewallet_id
|
||||
msgid "Ewallet ID"
|
||||
msgstr "Ewallet ID"
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_partner.py:0
|
||||
msgid "Headquarter"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_net_vat_excess
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_chart_template__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_move__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_ir_actions_report__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner__id
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner_bank__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_account_move
|
||||
msgid "Journal Entry"
|
||||
msgstr "รายการสมุดรายวัน"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner__l10n_th_branch_name
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_users__l10n_th_branch_name
|
||||
msgid "L10N Th Branch Name"
|
||||
msgstr "ชื่อสาขา L10N"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields.selection,name:l10n_th.selection__res_partner_bank__proxy_type__merchant_tax_id
|
||||
msgid "Merchant Tax ID"
|
||||
msgstr "หมายเลขประจำตัวผู้เสียภาษีของผู้ค้า"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields.selection,name:l10n_th.selection__res_partner_bank__proxy_type__mobile
|
||||
msgid "Mobile Number"
|
||||
msgstr "หมายเลขโทรศัพท์มือถือ"
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/ir_actions_report.py:0
|
||||
msgid "Only invoices could be printed."
|
||||
msgstr "สามารถพิมพ์ได้เฉพาะใบแจ้งหนี้เท่านั้น"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_account_setup_bank_manual_config__proxy_type
|
||||
#: model:ir.model.fields,field_description:l10n_th.field_res_partner_bank__proxy_type
|
||||
msgid "Proxy Type"
|
||||
msgstr "ประเภทพร็อกซี"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:ir.model,name:l10n_th.model_ir_actions_report
|
||||
msgid "Report Action"
|
||||
msgstr "รายงานการดำเนินการ"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_th.report_invoice_document
|
||||
msgid "Tax Invoice"
|
||||
msgstr "ใบกำกับภาษี"
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"12. Net excess tax payable ((if 10. is greater than 8.) or (9. plus 10.))"
|
||||
msgstr ""
|
||||
"The Merchant Tax ID must be in the format 1234567890123 for account number "
|
||||
"%s."
|
||||
msgstr "หมายเลขภาษีผู้ค้าจะต้องอยู่ในรูปแบบ 1234567890123 สำหรับหมายเลขบัญชี %s"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_out_tax_less_sales_0_rate
|
||||
msgid "2. Less sales subject to 0% tax rate "
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_out_tax_less_exempted_sales
|
||||
msgid "3. Less exempted sales"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_out_tax_taxable_sales_amount
|
||||
msgid "4. Taxable sales amount(1. -2. -3.)"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_out_tax
|
||||
msgid "5. Output tax"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_input_tax_purchase_from_out_tax
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"6. Purchase amount that is entitled to deduction of input tax from output "
|
||||
"tax in tax computation"
|
||||
"The Mobile Number must be in the format 0812345678 for account number %s."
|
||||
msgstr "หมายเลขโทรศัพท์มือถือจะต้องอยู่ในรูปแบบ 0812345678 สำหรับหมายเลขบัญชี %s"
|
||||
|
||||
#. module: l10n_th
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"The PayNow Type must be either Ewallet ID, Merchant Tax ID or Mobile Number "
|
||||
"to generate a Thailand Bank QR code"
|
||||
msgstr ""
|
||||
"ประเภท PayNow จะต้องเป็นรหัส Ewallet, รหัสภาษีผู้ค้า หรือหมายเลขโทรศัพท์มือถือ เพื่อสร้างรหัส "
|
||||
"QR โค้ดของธนาคารไทย"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_input_tax
|
||||
msgid "7. Input tax (according to invoice of purchase amount in 6.)"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_vat_payable
|
||||
msgid "8. Tax payable (5. minus 7. (if 5. is greater than 7.))"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_vat_excess
|
||||
msgid "9. Excess tax payable (7. minus 5. (if 5. is less than 7.))"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.column,name:l10n_th.tax_report_balance
|
||||
#: model:account.report.column,name:l10n_th.tax_report_pnd3_balance
|
||||
#: model:account.report.column,name:l10n_th.tax_report_pnd53_balance
|
||||
msgid "Balance"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_input_tax_title
|
||||
msgid "Input Tax"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_net_vat
|
||||
msgid "Net Tax"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_out_tax_title
|
||||
msgid "Output Tax"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report,name:l10n_th.tax_report_pnd3
|
||||
msgid "PND3"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report,name:l10n_th.tax_report_pnd53
|
||||
msgid "PND53"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_surcharge_pnd3_line
|
||||
#: model:account.report.line,name:l10n_th.tax_report_surcharge_pnd53_line
|
||||
msgid "Surcharge"
|
||||
msgstr "เงินเพิ่ม (ถ้ามี)"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.tax.group,name:l10n_th.tax_group_1
|
||||
msgid "TAX 1%"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.tax.group,name:l10n_th.tax_group_2
|
||||
msgid "TAX 2%"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.tax.group,name:l10n_th.tax_group_3
|
||||
msgid "TAX 3%"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.tax.group,name:l10n_th.tax_group_5
|
||||
msgid "TAX 5%"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report,name:l10n_th.tax_report
|
||||
msgid "Tax Report"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_total_pnd3_line
|
||||
#: model:account.report.line,name:l10n_th.tax_report_total_pnd53_line
|
||||
msgid "Total"
|
||||
msgstr "รวมยอดภาษีที่นำส่งทั้งสิ้น และเงินเพิ่ม (2. + 3.)"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_total_income_pnd3_line
|
||||
#: model:account.report.line,name:l10n_th.tax_report_total_income_pnd53_line
|
||||
msgid "Total Income"
|
||||
msgstr "รวมยอดเงินได้ทั้งสิ้น"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_total_remittance_pnd3_line
|
||||
#: model:account.report.line,name:l10n_th.tax_report_total_remittance_pnd53_line
|
||||
msgid "Total Remittance"
|
||||
msgstr "รวมยอดภาษีที่นำส่งทั้งสิ้น"
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.tax.group,name:l10n_th.tax_group_vat_7
|
||||
msgid "VAT 7%"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_th
|
||||
#: model:account.report.line,name:l10n_th.tax_report_vat
|
||||
msgid "Value Added Tax"
|
||||
#. odoo-python
|
||||
#: code:addons/l10n_th/models/res_bank.py:0
|
||||
msgid ""
|
||||
"The QR Code Type must be either Ewallet ID, Merchant Tax ID or Mobile Number "
|
||||
"to generate a Thailand Bank QR code for account number %s."
|
||||
msgstr ""
|
||||
"ประเภทรหัส QR โค้ดจะต้องเป็นรหัส Ewallet, รหัสผู้เสียภาษีของผู้ค้า หรือหมายเลขโทรศัพท์มือถือ "
|
||||
"เพื่อสร้างรหัส QR โค้ดของธนาคารไทยสำหรับหมายเลขบัญชี %s"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import template_th
|
||||
from . import res_partner
|
||||
from . import account_move
|
||||
from . import ir_actions_report
|
||||
from . import res_bank
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
from odoo import models
|
||||
|
||||
|
||||
class AccountMove(models.Model):
|
||||
_inherit = "account.move"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ from odoo.exceptions import UserError
|
|||
class IrActionsReport(models.Model):
|
||||
_inherit = 'ir.actions.report'
|
||||
|
||||
def _render_qweb_pdf(self, report_ref, res_ids=None, data=None):
|
||||
def _pre_render_qweb_pdf(self, report_ref, res_ids=None, data=None):
|
||||
# Check for reports only available for invoices.
|
||||
if self._get_report(report_ref).report_name == 'l10n_th.report_commercial_invoice':
|
||||
invoices = self.env['account.move'].browse(res_ids)
|
||||
if any(not x.is_invoice(include_receipts=True) for x in invoices):
|
||||
raise UserError(_("Only invoices could be printed."))
|
||||
|
||||
return super()._render_qweb_pdf(report_ref, res_ids=res_ids, data=data)
|
||||
return super()._pre_render_qweb_pdf(report_ref, res_ids=res_ids, data=data)
|
||||
|
|
|
|||
67
odoo-bringout-oca-ocb-l10n_th/l10n_th/models/res_bank.py
Normal file
67
odoo-bringout-oca-ocb-l10n_th/l10n_th/models/res_bank.py
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
import re
|
||||
|
||||
from odoo import _, api, fields, models
|
||||
from odoo.exceptions import ValidationError
|
||||
|
||||
|
||||
class ResPartnerBank(models.Model):
|
||||
_inherit = 'res.partner.bank'
|
||||
|
||||
proxy_type = fields.Selection(selection_add=[('ewallet_id', 'Ewallet ID'),
|
||||
('merchant_tax_id', 'Merchant Tax ID'),
|
||||
('mobile', "Mobile Number")],
|
||||
ondelete={'ewallet_id': 'set default', 'merchant_tax_id': 'set default', 'mobile': 'set default'})
|
||||
|
||||
@api.constrains('proxy_type', 'proxy_value', 'partner_id')
|
||||
def _check_th_proxy(self):
|
||||
tax_id_re = re.compile(r'^[0-9]{13}$')
|
||||
mobile_re = re.compile(r'^[0-9]{10}$')
|
||||
for bank in self.filtered(lambda b: b.country_code == 'TH'):
|
||||
if bank.proxy_type not in ['ewallet_id', 'merchant_tax_id', 'mobile', 'none', False]:
|
||||
raise ValidationError(_("The QR Code Type must be either Ewallet ID, Merchant Tax ID or Mobile Number to generate a Thailand Bank QR code for account number %s.", bank.acc_number))
|
||||
if bank.proxy_type == 'merchant_tax_id' and (not bank.proxy_value or not tax_id_re.match(bank.proxy_value)):
|
||||
raise ValidationError(_("The Merchant Tax ID must be in the format 1234567890123 for account number %s.", bank.acc_number))
|
||||
if bank.proxy_type == 'mobile' and (not bank.proxy_value or not mobile_re.match(bank.proxy_value)):
|
||||
raise ValidationError(_("The Mobile Number must be in the format 0812345678 for account number %s.", bank.acc_number))
|
||||
|
||||
@api.depends('country_code')
|
||||
def _compute_country_proxy_keys(self):
|
||||
bank_th = self.filtered(lambda b: b.country_code == 'TH')
|
||||
bank_th.country_proxy_keys = 'ewallet_id,merchant_tax_id,mobile'
|
||||
super(ResPartnerBank, self - bank_th)._compute_country_proxy_keys()
|
||||
|
||||
@api.depends('country_code')
|
||||
def _compute_display_qr_setting(self):
|
||||
bank_th = self.filtered(lambda b: b.country_code == 'TH')
|
||||
bank_th.display_qr_setting = True
|
||||
super(ResPartnerBank, self - bank_th)._compute_display_qr_setting()
|
||||
|
||||
def _get_merchant_account_info(self):
|
||||
if self.country_code == 'TH':
|
||||
proxy_type_mapping = {
|
||||
'mobile': 1,
|
||||
'merchant_tax_id': 2,
|
||||
'ewallet_id': 3,
|
||||
}
|
||||
proxy_value = re.sub(r"^0", "66", self.proxy_value).zfill(13) if self.proxy_type == 'mobile' else self.proxy_value
|
||||
vals = [
|
||||
(0, 'A000000677010111'),
|
||||
(proxy_type_mapping[self.proxy_type], proxy_value),
|
||||
]
|
||||
return (29, ''.join([self._serialize(*val) for val in vals]))
|
||||
return super()._get_merchant_account_info()
|
||||
|
||||
def _get_error_messages_for_qr(self, qr_method, debtor_partner, currency):
|
||||
if qr_method == 'emv_qr' and self.country_code == 'TH':
|
||||
if currency.name not in ['THB']:
|
||||
return _("Can't generate a PayNow QR code with a currency other than THB.")
|
||||
return None
|
||||
|
||||
return super()._get_error_messages_for_qr(qr_method, debtor_partner, currency)
|
||||
|
||||
def _check_for_qr_code_errors(self, qr_method, amount, currency, debtor_partner, free_communication, structured_communication):
|
||||
if qr_method == 'emv_qr' and self.country_code == 'TH' and self.proxy_type not in ['ewallet_id', 'merchant_tax_id', 'mobile']:
|
||||
return _("The PayNow Type must be either Ewallet ID, Merchant Tax ID or Mobile Number to generate a Thailand Bank QR code")
|
||||
|
||||
return super()._check_for_qr_code_errors(qr_method, amount, currency, debtor_partner, free_communication, structured_communication)
|
||||
|
|
@ -2,15 +2,17 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = "res.partner"
|
||||
|
||||
l10n_th_branch_name = fields.Char(compute="_l10n_th_get_branch_name")
|
||||
l10n_th_branch_name = fields.Char(compute="_compute_l10n_th_branch_name")
|
||||
|
||||
def _l10n_th_get_branch_name(self):
|
||||
def _compute_l10n_th_branch_name(self):
|
||||
for partner in self:
|
||||
if not partner.is_company or partner.country_code != 'TH':
|
||||
partner.l10n_th_branch_name = ""
|
||||
else:
|
||||
code = partner.company_registry
|
||||
partner.l10n_th_branch_name = f"Branch {code}" if code else "Headquarter"
|
||||
partner.l10n_th_branch_name = partner.env._("Branch %(code)s", code=code) if code else partner.env._(
|
||||
"Headquarter")
|
||||
|
|
|
|||
43
odoo-bringout-oca-ocb-l10n_th/l10n_th/models/template_th.py
Normal file
43
odoo-bringout-oca-ocb-l10n_th/l10n_th/models/template_th.py
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models
|
||||
from odoo.addons.account.models.chart_template import template
|
||||
|
||||
|
||||
class AccountChartTemplate(models.AbstractModel):
|
||||
_inherit = 'account.chart.template'
|
||||
|
||||
@template('th')
|
||||
def _get_th_template_data(self):
|
||||
return {
|
||||
'code_digits': '6',
|
||||
'property_account_receivable_id': 'l10n_th_account_112100',
|
||||
'property_account_payable_id': 'l10n_th_account_212100',
|
||||
'property_stock_valuation_account_id': 'l10n_th_account_113100',
|
||||
'downpayment_account_id': 'l10n_th_account_212400',
|
||||
}
|
||||
|
||||
@template('th', 'res.company')
|
||||
def _get_th_res_company(self):
|
||||
return {
|
||||
self.env.company.id: {
|
||||
'account_fiscal_country_id': 'base.th',
|
||||
'bank_account_code_prefix': '11120',
|
||||
'cash_account_code_prefix': '11110',
|
||||
'transfer_account_code_prefix': 'l10n_th_account_11120',
|
||||
'account_default_pos_receivable_account_id': 'l10n_th_account_112101',
|
||||
'income_currency_exchange_account_id': 'l10n_th_account_421300',
|
||||
'expense_currency_exchange_account_id': 'l10n_th_account_621200',
|
||||
'account_journal_suspense_account_id': 'l10n_th_account_111201',
|
||||
'account_journal_early_pay_discount_loss_account_id': 'l10n_th_account_411400',
|
||||
'account_journal_early_pay_discount_gain_account_id': 'l10n_th_account_421500',
|
||||
'account_sale_tax_id': 'tax_output_vat',
|
||||
'account_purchase_tax_id': 'tax_input_vat',
|
||||
'default_cash_difference_income_account_id': 'l10n_th_account_421600',
|
||||
'default_cash_difference_expense_account_id': 'l10n_th_account_622200',
|
||||
'transfer_account_id': 'l10n_th_account_111202',
|
||||
'expense_account_id': 'l10n_th_account_511100',
|
||||
'income_account_id': 'l10n_th_account_411100',
|
||||
'account_stock_valuation_id': 'l10n_th_account_113100',
|
||||
'tax_exigibility': 'True'
|
||||
},
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
|
|
@ -1,51 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 106 106">
|
||||
<defs>
|
||||
<mask id="a" x="0" y="0" width="106" height="106" maskUnits="userSpaceOnUse">
|
||||
<path d="M6.06,0H98.43C104.49,0,106,1.51,106,7.57V98.43c0,6.06-1.51,7.57-7.57,7.57H6.06C1.51,106,0,104.49,0,98.43V7.57C0,1.51,1.51,0,6.06,0Z" style="fill: #fff;fill-rule: evenodd"/>
|
||||
</mask>
|
||||
<mask id="b" x="4.6" y="7.2" width="52.8" height="32.97" maskUnits="userSpaceOnUse">
|
||||
<rect x="6.09" y="7.47" width="48.45" height="31.57" rx="1" style="fill: #fff"/>
|
||||
</mask>
|
||||
<symbol id="c" data-name="account icon" viewBox="0 0 106 106">
|
||||
<g style="mask: url(#a)">
|
||||
<g>
|
||||
<path d="M0,0H106V106H0Z" style="fill: #5a5a64;fill-rule: evenodd"/>
|
||||
<path d="M6.06,1.51H98.43q6.06,0,7.57,3V0H0V4.54Q1.52,1.51,6.06,1.51Z" style="fill: #fff;fill-opacity: 0.382999986410141;fill-rule: evenodd"/>
|
||||
<path d="M6.06,104.49H98.43q6.06,0,7.57-4.55V106H0V99.94Q1.52,104.49,6.06,104.49Z" style="fill-opacity: 0.382999986410141;fill-rule: evenodd"/>
|
||||
<g>
|
||||
<path d="M70.38,104.49H6.06C3,104.49,0,103,0,98.43V61.28L28.77,19.69H59.06a77.33,77.33,0,0,0,21.2,13.87c.07,11.31.07,4.86,0,16.17h3.12l.21,36.82Z" style="fill: #393939;fill-rule: evenodd;opacity: 0.324000000953674;isolation: isolate"/>
|
||||
<g style="opacity: 0.30000000000000004">
|
||||
<g>
|
||||
<path d="M68.77,58.54H76c.76,0,1,.12,1,.46v2.45c0,.31-.24.43-.93.43H61.44c-.66,0-.92-.12-.92-.42,0-.83,0-1.67,0-2.51,0-.29.26-.4.92-.41Z"/>
|
||||
<path d="M64.33,77.42c.42.39.76.66,1,1a.89.89,0,0,1,0,1.31.92.92,0,0,1-1.32,0,4.25,4.25,0,0,1-.48-.47c-.14-.15-.26-.31-.49-.6-.32.37-.54.66-.79.91-.53.53-1.08.58-1.5.15s-.36-.94.15-1.45c.26-.26.54-.5.91-.83-.38-.34-.72-.61-1-.91a.9.9,0,0,1,0-1.36.91.91,0,0,1,1.36,0c.29.28.54.6.93,1A12.1,12.1,0,0,1,64,75.18a.91.91,0,0,1,1.36,0,.87.87,0,0,1,0,1.31C65.07,76.79,64.73,77.06,64.33,77.42Z"/>
|
||||
<path d="M62.13,66.9c0-.47,0-.88,0-1.28a.92.92,0,0,1,.92-1,.91.91,0,0,1,1,1c0,.41,0,.81,0,1.3h1.14a1.16,1.16,0,0,1,1.22,1c0,.55-.42.85-1.18.86H64.12c0,.49,0,.91,0,1.34a.94.94,0,1,1-1.88,0c0-.41,0-.81,0-1.3H60.92a.94.94,0,1,1,0-1.88C61.3,66.89,61.68,66.9,62.13,66.9Z"/>
|
||||
<path d="M74.31,76H72.23c-.67,0-1-.34-1-.93a.89.89,0,0,1,1-1q2.18,0,4.35,0a1,1,0,1,1,0,1.91c-.74,0-1.47,0-2.21,0Z"/>
|
||||
<path d="M74.28,68.61c-.71,0-1.43,0-2.14,0a.86.86,0,0,1-1-.9.85.85,0,0,1,.92-1c1.5,0,3,0,4.48,0a.93.93,0,0,1,1,1,.91.91,0,0,1-1,.91c-.75,0-1.51,0-2.27,0Z"/>
|
||||
<path d="M74.36,78.09c.72,0,1.44,0,2.15,0a1,1,0,0,1,1,1c0,.57-.38.93-1,.94H72.28c-.75,0-1.09-.32-1.09-.94s.37-1,1.09-1,1.39,0,2.08,0Z"/>
|
||||
<path d="M81.29,90.55H56.14a4,4,0,0,1-4-4V53.73a4,4,0,0,1,4-4H81.29a4,4,0,0,1,4,4V86.55A4,4,0,0,1,81.29,90.55ZM56.14,53.73V86.55H81.29V53.73Z"/>
|
||||
</g>
|
||||
<path d="M43.49,83.26H31.8V25.71H56v10.6q0,4.55,4.54,4.55H75.71v5.78h4.55V34.8c-4.55-3-16.66-12.11-19.69-13.63H30.29a2.68,2.68,0,0,0-3,3V84.77a2.68,2.68,0,0,0,3,3H48.45V83.26ZM60.57,25.71l15.14,10.6H60.57Z"/>
|
||||
</g>
|
||||
<path d="M60.57,18.68H30.29a2.68,2.68,0,0,0-3,3V82.28a2.68,2.68,0,0,0,3,3H48.45V80.77H31.8V23.22H56v10.6q0,4.55,4.54,4.55H75.71v5.78h4.55V32.31C75.71,29.28,63.6,20.2,60.57,18.68Zm0,15.14V23.22l15.14,10.6Z" style="fill: #a8a9ab"/>
|
||||
<g>
|
||||
<path d="M68.77,55.78H76c.76,0,1,.13,1,.53v2.85c0,.37-.24.5-.93.5q-7.3,0-14.61,0c-.66,0-.92-.14-.92-.48,0-1,0-2,0-2.93,0-.34.26-.47.92-.47Z" style="fill: #a8a9ab"/>
|
||||
<path d="M64.33,76.53c.42.38.76.65,1,1a.89.89,0,0,1,0,1.31.92.92,0,0,1-1.32,0,5.44,5.44,0,0,1-.48-.48c-.14-.14-.26-.31-.49-.59-.32.36-.54.65-.79.91-.53.53-1.08.57-1.5.14s-.36-.94.15-1.45c.26-.26.54-.49.91-.82-.38-.35-.72-.61-1-.92a.9.9,0,0,1,0-1.36.92.92,0,0,1,1.36,0c.29.28.54.61.93,1A13.78,13.78,0,0,1,64,74.28a.91.91,0,0,1,1.36,0,.88.88,0,0,1,0,1.32C65.07,75.89,64.73,76.16,64.33,76.53Z" style="fill: #a8a9ab"/>
|
||||
<path d="M62.13,65.88c0-.48,0-.88,0-1.29a1,1,0,1,1,1.91,0c0,.4,0,.81,0,1.3h1.14a1.15,1.15,0,0,1,1.22,1c0,.54-.42.85-1.18.85H64.12c0,.49,0,.92,0,1.34a.94.94,0,1,1-1.88,0c0-.4,0-.81,0-1.3H60.92a.94.94,0,1,1,0-1.88Z" style="fill: #a8a9ab"/>
|
||||
<path d="M74.31,75.11c-.69,0-1.38,0-2.08,0s-1-.35-1-.94a.89.89,0,0,1,1-1q2.18,0,4.35,0a.91.91,0,0,1,1,1,.93.93,0,0,1-1,1c-.74,0-1.47,0-2.21,0Z" style="fill: #a8a9ab"/>
|
||||
<path d="M74.28,67.76H72.14a.87.87,0,0,1-1-.9.84.84,0,0,1,.92-1c1.5,0,3,0,4.48,0a.94.94,0,0,1,1,1,.91.91,0,0,1-1,.91H74.28Z" style="fill: #a8a9ab"/>
|
||||
<path d="M74.36,77.2c.72,0,1.44,0,2.15,0a1,1,0,0,1,1,1c0,.56-.38.93-1,.93q-2.12,0-4.23,0c-.75,0-1.09-.32-1.09-.94s.37-.94,1.09-1,1.39,0,2.08,0Z" style="fill: #a8a9ab"/>
|
||||
<path d="M81.29,88.06H56.14a4,4,0,0,1-4-4V51.24a4,4,0,0,1,4-4H81.29a4,4,0,0,1,4,4V84.06A4,4,0,0,1,81.29,88.06ZM56.14,51.24V84.06H81.29V51.24Z" style="fill: #a8a9ab"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</symbol>
|
||||
</defs>
|
||||
<g>
|
||||
<use width="106" height="106" transform="translate(-0.07 0)" xlink:href="#c"/>
|
||||
<rect x="6.2" y="10.57" width="48.45" height="31.57" rx="1" style="fill: #393939;opacity: 0.44;isolation: isolate"/>
|
||||
<g style="mask: url(#b)">
|
||||
<image width="400" height="267" transform="translate(4.6 7.2) scale(0.13 0.12)" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAD6CAYAAACPpxFEAAAACXBIWXMAAFPQAABT0AEFpKxXAAAD2UlEQVR4Xu3ZsUkFURRF0TcyiWBPhrZjD2Z2YWIf04EtiPADzcXsmf8RHu54rfjkG+7d5hhzAMD/HDerBQD8RUAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEj28fS82gDAyTbnnKsRAFw5nLAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEj27++f1QYATvaH+8fVBgBO9o/3z9UGAE78QABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAREAASAQEgERAAEgEBIBEQABIBASAZL+7u11tAOBku1y+5moEAFeObc4pIAD81+EHAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAso+X19UGAE62OcZcjQDgyuGEBUAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJAICQCIgACQCAkAiIAAkAgJAIiAAJPsY41iNAODK2y8UnB/7L9tHEgAAAABJRU5ErkJggg=="/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 6.7 KiB |
1
odoo-bringout-oca-ocb-l10n_th/l10n_th/tests/__init__.py
Normal file
1
odoo-bringout-oca-ocb-l10n_th/l10n_th/tests/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
from . import test_l10n_th_emv_qr
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo.exceptions import UserError
|
||||
from odoo.fields import Command
|
||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||
from odoo.tests import tagged
|
||||
|
||||
|
||||
@tagged('post_install_l10n', 'post_install', '-at_install')
|
||||
class TestL10nTHEmvQrCode(AccountTestInvoicingCommon):
|
||||
""" Test the generation of the EMV QR Code on invoices """
|
||||
|
||||
@classmethod
|
||||
@AccountTestInvoicingCommon.setup_country('th')
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.company_data['company'].qr_code = True
|
||||
cls.company_data['company'].partner_id.update({
|
||||
'country_id': cls.env.ref('base.th').id,
|
||||
'city': 'Thailand',
|
||||
})
|
||||
|
||||
cls.acc_emv_th = cls.env['res.partner.bank'].create({
|
||||
'acc_number': '123456789012345678',
|
||||
'partner_id': cls.company_data['company'].partner_id.id,
|
||||
'proxy_type': 'mobile',
|
||||
'proxy_value': '0810704060',
|
||||
})
|
||||
|
||||
cls.acc_emv_th_without_promptpay_info = cls.env['res.partner.bank'].create({
|
||||
'acc_number': '1234567890',
|
||||
'partner_id': cls.company_data['company'].partner_id.id,
|
||||
})
|
||||
|
||||
cls.emv_qr_invoice = cls.env['account.move'].create({
|
||||
'move_type': 'out_invoice',
|
||||
'partner_id': cls.partner_a.id,
|
||||
'currency_id': cls.env.ref('base.THB').id,
|
||||
'partner_bank_id': cls.acc_emv_th.id,
|
||||
'company_id': cls.company_data['company'].id,
|
||||
'invoice_line_ids': [Command.create({'quantity': 1, 'price_unit': 100})],
|
||||
})
|
||||
|
||||
def test_emv_qr_code_generation(self):
|
||||
self.emv_qr_invoice.qr_code_method = 'emv_qr'
|
||||
self.emv_qr_invoice._generate_qr_code()
|
||||
|
||||
# Using invoice currency other than THB should fail
|
||||
self.emv_qr_invoice.currency_id = self.env.ref('base.USD')
|
||||
with self.assertRaises(UserError, msg="The chosen QR-code type is not eligible for this invoice."):
|
||||
self.emv_qr_invoice._generate_qr_code()
|
||||
|
||||
# Without company partner city should fail
|
||||
self.emv_qr_invoice.currency_id = self.env.ref('base.THB')
|
||||
self.company_data['company'].partner_id.city = False
|
||||
with self.assertRaises(UserError, msg="Missing Merchant City."):
|
||||
self.emv_qr_invoice._generate_qr_code()
|
||||
|
||||
# Without PromptPay infomation should fail
|
||||
self.company_data['company'].partner_id.city = 'Thailand'
|
||||
self.emv_qr_invoice.partner_bank_id = self.acc_emv_th_without_promptpay_info
|
||||
with self.assertRaises(UserError, msg="The account receiving the payment must have a Proxy type and a Proxy value set."):
|
||||
self.emv_qr_invoice._generate_qr_code()
|
||||
|
||||
def test_emv_qr_vals(self):
|
||||
self.emv_qr_invoice.qr_code_method = 'emv_qr'
|
||||
unstruct_ref = 'INV/TEST/0001'
|
||||
emv_qr_vals = self.emv_qr_invoice.partner_bank_id._get_qr_vals(
|
||||
qr_method=self.emv_qr_invoice.qr_code_method,
|
||||
amount=self.emv_qr_invoice.amount_residual,
|
||||
currency=self.emv_qr_invoice.currency_id,
|
||||
debtor_partner=self.emv_qr_invoice.partner_id,
|
||||
free_communication=unstruct_ref,
|
||||
structured_communication=self.emv_qr_invoice.payment_reference,
|
||||
)
|
||||
|
||||
# Check the whole qr code string
|
||||
self.assertEqual(emv_qr_vals, '00020101021229370016A0000006770101110113006681070406052040000530376454031005802TH5914company_1_data6008Thailand63048B76')
|
||||
|
|
@ -11,12 +11,9 @@
|
|||
<xpath expr="//div[@name='no_shipping']//span[@t-field='o.partner_id.vat']" position="after">
|
||||
<span t-esc="o.partner_id.l10n_th_branch_name"/>
|
||||
</xpath>
|
||||
<xpath expr="//h2/span[contains(@t-if, 'posted')]" position="replace">
|
||||
<t t-if="o.move_type == 'out_invoice' and o.state == 'posted'">
|
||||
<span t-if="o.company_id.account_fiscal_country_id.code == 'TH' and not commercial_invoice">Tax Invoice</span>
|
||||
<span t-else="">Invoice</span>
|
||||
</t>
|
||||
</xpath>
|
||||
<t name="invoice_title" position="replace">
|
||||
<t name="invoice_title">Tax Invoice</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<template id="report_commercial_invoice">
|
||||
|
|
@ -28,21 +25,6 @@
|
|||
</t>
|
||||
</template>
|
||||
|
||||
<template id="report_invoice" inherit_id="account.report_invoice">
|
||||
<xpath expr='//t[@t-call="account.report_invoice_document"]' position="after">
|
||||
<t t-if="o._get_name_invoice_report() == 'l10n_th.report_invoice_document'"
|
||||
t-call="l10n_th.report_invoice_document" t-lang="lang"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="report_invoice_with_payments" inherit_id="account.report_invoice_with_payments">
|
||||
<xpath expr='//t[@t-call="account.report_invoice_document"]' position="after">
|
||||
<t t-if="o._get_name_invoice_report() == 'l10n_th.report_invoice_document'"
|
||||
t-call="l10n_th.report_invoice_document" t-lang="lang"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
<record id="action_report_commercial_invoice" model="ir.actions.report">
|
||||
<field name="name">Commercial Invoice</field>
|
||||
<field name="model">account.move</field>
|
||||
|
|
@ -53,4 +35,12 @@
|
|||
<field name="binding_type">report</field>
|
||||
</record>
|
||||
|
||||
<!-- Workaround for Studio reports, see odoo/odoo#60660 -->
|
||||
<template id="report_invoice" inherit_id="account.report_invoice">
|
||||
<xpath expr='//t[@t-call="account.report_invoice_document"]' position="after">
|
||||
<t t-elif="o._get_name_invoice_report() == 'l10n_th.report_invoice_document'"
|
||||
t-call="l10n_th.report_invoice_document"
|
||||
t-lang="lang"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,15 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_th"
|
||||
version = "16.0.0"
|
||||
description = "Thailand - Accounting - Odoo addon"
|
||||
description = "Thailand - Accounting -
|
||||
Odoo addon
|
||||
"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-account>=16.0.0",
|
||||
"TODO_MAP-account_qr_code_emv>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-account>=19.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
|
|
@ -16,7 +19,7 @@ classifiers = [
|
|||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue