Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][ADD] l10n_th_account_tax (no merge to v14, to be added to v15) #272

Open
wants to merge 104 commits into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
6e016d1
/
kittiu Dec 13, 2021
ff1b966
Refactor
kittiu Oct 27, 2021
655722b
Readme
kittiu Oct 27, 2021
0ea39d0
Refactor
kittiu Oct 28, 2021
cc1fd76
[FIX] permission report
Saran440 Oct 28, 2021
a7a3812
[FIX] l10n_th_account_tax_expense: duplicate fields
ps-tubtim Oct 29, 2021
76c4bf8
Refactor, withholding tax deduction with different partners
kittiu Oct 30, 2021
b5ebab6
ADD l10n_th_account_tax_advance_clearing
kittiu Oct 30, 2021
eafba6f
Use account.move _post() to create withholding.move, instead of regis…
kittiu Oct 31, 2021
8b772da
Merge l10n_th_account_advance_clearing to l10n_th_account_expense_tax
kittiu Oct 31, 2021
02f1c21
Refactor - create withholding tax certs
kittiu Nov 1, 2021
078acb1
FIX, multi WHT, wrong partner on wht moves
kittiu Nov 1, 2021
5526c89
Payment mode, Tax and WHT to be readonly for Advance
kittiu Nov 2, 2021
cfc4ecb
FIX: AV : เคลียร์ AV หลายครั้ง แบบมี WHT ยอดคงเหลือของ AV ไม่ถูกต้อง
kittiu Nov 2, 2021
20e20e4
Reduce size of WithholdingCert.png
kittiu Nov 4, 2021
2389a4d
fix _compute_wht_cert_data
ps-tubtim Nov 3, 2021
f340acb
FIX, payment see warning banner to create WHT certs, even no wht_tax_id
kittiu Nov 4, 2021
fac33ff
FIX, track PIT in case not 150,000
kittiu Nov 4, 2021
21bda81
FIX, track PIT in case not 150,000, on Exp
kittiu Nov 5, 2021
223a54a
Fix duplicate fields
ps-tubtim Nov 7, 2021
c263efb
[FIX] _get_wht_amount
ps-tubtim Nov 9, 2021
27479b3
[FIX] permission group billing can see Tax invoice menu
Saran440 Nov 10, 2021
d38c813
[FIX] pre-commit
Saran440 Nov 10, 2021
4be0691
[FIX] l10n_th_account_tax
ps-tubtim Nov 11, 2021
7ddef33
FIX for case clearing advance withholding tax
ps-tubtim Nov 29, 2021
8f6c828
add Withholding Tax Moves view
ps-tubtim Nov 29, 2021
2c72b40
Expense WHT, show button 'Create WHT JV' when needed
kittiu Dec 1, 2021
c8dff0f
[FIX] l10n_th_account_tax_report
ps-tubtim Dec 15, 2021
87dcbd6
[FIX] l10n_th_account_tax
ps-tubtim Dec 15, 2021
940517d
[FIX] l10n_th_account_tax: edit string withholding tax on product
ps-tubtim Dec 16, 2021
08ba9a6
[ENH] l10n_th_account_tax_report
ps-tubtim Dec 28, 2021
99b1cca
[FIX] l10n_th_account_tax_report
ps-tubtim Dec 28, 2021
5020080
EXPERIMENT: remove income/expense move line from cash basis entry
kittiu Dec 30, 2021
e633604
run pre-commit
kittiu Dec 30, 2021
cd79c6a
/
kittiu Dec 30, 2021
d02538b
[FIX] multi tax invoice
Saran440 Jan 4, 2022
ef00f11
[FIX] hooks function tax base amount for expense multi line
Saran440 Jan 5, 2022
7e59a38
[FIX] tax expense multi account
Saran440 Jan 11, 2022
ef7edaa
[FIX] reverse clear tax, original move must auto posted.
Saran440 Jan 12, 2022
0e2d605
[FIX] update writeoff not overwrite
Saran440 Jan 24, 2022
fd493f7
EXPERIMENT: remove income / expense account move lines
kittiu Jan 25, 2022
d64338b
[FIX] l10n_th_account_tax_report
ps-tubtim Feb 9, 2022
27cabb0
[FIX] withholding error payment diff
Saran440 Feb 9, 2022
328674b
Merge branch '14.0-add-l10n_th_account_tax' of https://github.com/eco…
Saran440 Feb 9, 2022
12ea74b
[REF] l10n_th_account_tax_report: tax_report_xlsx
ps-tubtim Feb 10, 2022
e846908
[FIX] depends hr_expense_payment and compute residual clearing mistak…
Saran440 Feb 17, 2022
7a29c89
[ADD] depend hr_expense_payment
Saran440 Feb 17, 2022
b39390c
[ENH] withholding tax and report
Saran440 Feb 18, 2022
e0be331
[FIX] onchange date range
Saran440 Feb 18, 2022
75fc7af
[FIX] readonly fields
Saran440 Feb 18, 2022
f36a2f3
[ADD] l10n_th_account_tax_report_rd
ps-tubtim Feb 21, 2022
66da727
[FIX] l10n_th_account_tax_report_rd
ps-tubtim Feb 22, 2022
b0cd426
[FIX] l10n_th_account_tax_report_rd
ps-tubtim Feb 22, 2022
2eae252
[FIX] l10n_th_account_tax_expense
ps-tubtim Feb 23, 2022
3220a0b
[ADD] default - income code wht
Saran440 Feb 24, 2022
45500be
Add show cancel feature
ps-tubtim Feb 27, 2022
fcef7ae
[FIX] l10n_th_account_tax_report_rd
ps-tubtim Mar 1, 2022
1c49b48
[UPD] text file -> address and tax branch
Saran440 Mar 2, 2022
280e435
[FIX] update default on wizard
Saran440 Mar 4, 2022
9e6f64b
[FIX] clearing more than advance with wht
Saran440 Mar 9, 2022
47396b9
[FIX] skip for case clearing > advance
Saran440 Mar 9, 2022
68ac99c
SMerge branch '14.0' of https://github.com/OCA/l10n-thailand into 14.…
Saran440 Mar 14, 2022
1758797
[FIX] not depend l10n_th_expense and residual mistake
Saran440 Mar 14, 2022
08249e4
[FIX] l10n_th_account_tax_report_rd
ps-tubtim Mar 30, 2022
af4c585
Merge branch '14.0' of github.com:OCA/l10n-thailand into 14.0-add-l10…
ps-tubtim Mar 31, 2022
e19750d
[FIX] l10n_th_company_novat
ps-tubtim Mar 31, 2022
23adf26
[FIX] auto cancel wht jv
Saran440 Apr 3, 2022
700fa24
Merge branch '14.0-add-l10n_th_account_tax' of https://github.com/eco…
Saran440 Apr 3, 2022
453fe6f
[FIX] error instead of auto cancel
Saran440 Apr 3, 2022
43f8c55
[FIX] l10n_th_company_novat
ps-tubtim Apr 5, 2022
f1b8bb2
move l10n_th_account_tax_report_rd to l10n_th_account_tax_report
ps-tubtim Apr 17, 2022
0de6bd9
[FIX] split query account_tax_report for hook
Saran440 Apr 22, 2022
b52d1db
[FIX] style error
Saran440 Apr 22, 2022
fdd333f
[FIX] create wht line error
Saran440 Apr 26, 2022
c723699
[FIX] reconcile wht on clearing mistake
Saran440 Apr 26, 2022
d580fd3
[FIX] clearing residual wht expense multi lines
Saran440 Apr 27, 2022
a21064f
[ENH] wht form configuration
Saran440 Apr 29, 2022
fd0b4ed
[FIX] cancel wht expense
Saran440 May 13, 2022
86e291a
ENH case net refund to invoice with Undue Tax Invoice
kittiu May 19, 2022
ef08dba
Allow deleting Tax Invoice when open from Tax Cash Basis Moves
kittiu May 24, 2022
f7942e2
Remove check tax invoice amount
kittiu May 26, 2022
9888040
Merge pull request #3 from ecosoft-odoo/kittiu-remove-check-tax
kittiu May 26, 2022
d855bd3
[FIX] constrains wizard filter report
Saran440 May 29, 2022
61183f8
Calc tax invoice tax_base, when pay partially
kittiu May 31, 2022
d6f2755
[FIX] l10n_th_account_tax_report: fix txt reporting
ps-tubtim Jun 6, 2022
0c7028a
[FIX] domain show cancel
Saran440 Jun 30, 2022
1b2da92
[FIX] skip adjust tax base in case JV
Saran440 Jul 1, 2022
36e3e61
[FIX] clearing wht reconcile
Saran440 Jul 11, 2022
d8b8eb2
[FIX] calculate tax invoice partial payment
Saran440 Nov 9, 2022
40a1942
[FIX] wht text file: amount should show 0 when check show cancelled
Saran440 Dec 14, 2022
fccfd03
[FIX] allow general user can access contacts
ps-tubtim Dec 20, 2022
9cac255
[ADD] config undue tax name
Saran440 Dec 26, 2022
b63bb2c
[FIX] add move line with tax 0%
Saran440 Dec 28, 2022
0f9aa51
[FIX] rename config undue
Saran440 Dec 28, 2022
672a646
[FIX] not delete aml with taxes
Saran440 Dec 29, 2022
c475b11
[FIX] Make sure Move state = posted can reconcile
newtratip Feb 27, 2023
402af06
Sort WHT Report by cert date
Mar 8, 2023
366fb6a
[14.0][ADD] l10n_th_account_tax_operating_unit
ps-tubtim Sep 27, 2023
cc04d1a
Merge branch '14.0' into 14.0-add-l10n_th_account_tax
ps-tubtim Sep 27, 2023
a2e0641
[14.0][ADD] l10n_th_account_tax_operating_unit_access_all
ps-tubtim Sep 27, 2023
3d11ac2
[REF] l10n_th_account_tax_report: easy to hook
ps-tubtim Oct 5, 2023
ef75b86
[14.0][ADD] l10n_th_account_tax_report_operating_unit
ps-tubtim Oct 9, 2023
7ff0a58
[FIX] l10n_th_account_tax_report_operating_unit
ps-tubtim Oct 9, 2023
847edca
[ENH] l10n_th_account_*: support PND2 type income WHT
Saran440 Apr 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
211 changes: 211 additions & 0 deletions l10n_th_account_tax/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
===========================================
Thai Localization - VAT and Withholding Tax
===========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:651e5abb7373c4879081bd9637f910074ae6d3be65706aa70d26a1598655f1ea
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--thailand-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-thailand/tree/14.0/l10n_th_account_tax
:alt: OCA/l10n-thailand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-thailand-14-0/l10n-thailand-14-0-l10n_th_account_tax
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-thailand&target_branch=14.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module address 2 main tax requirement in Thailand

1. Tax Invoice (VAT)
====================

Point of tax invoice can occur either on Invoice (VAT) or on Payment
(Undue VAT on invoice become VAT on payment)

2. Withholding Tax
==================

This is the tax that is deducted during payment. There are 2 kinds of withholding tax calculataion.

#. Fixed rate of based amount, i.e., service 3%
#. Progressive rate of accumulated amount, i.e., personal income tax

**Table of contents**

.. contents::
:local:

Configuration
=============

Tax Invoice
===========

**Preparing Undue Tax**

- Use Developer Mode
- In Chart of Account, add new account for Undue Tax, if not already exists.
- As admin, add access rights ``Show Full Accounting Features``
- Go to Invoicing > Configuration > Settings and select ``Cash Basis``, this will open cash basis options in Tax master data
- Go to Invoicing > Configuration > Accounting > Taxes, create new undue tax for both sales and purchase

For Sales Taxes (tax scope = Sales), there is option to run Tax Invoice number by sequence model.
If set properly, Tax Invoice Number will be using this sequence instead of customer invoice number / payment number

* Goto Accounting > Configuration > Invoicing > Taxes
* For sales tax, choose 'Tax Invoice Sequence' (or create new one)
* Make sure you also set the same sequence for the same tax on payment too.
I.e., Output VAT7% and Undue Output VAT7% must select the same sequence, both both of them will result in same Tax Report

Note: this option is not avaiable for purchase tax, because the Tax Invoice Number is from vendor, and are filled manually.

Withholding Tax and Personal Income Tax (PIT)
=============================================

Setup account related to withholding tax will help set default tax amount
when create certificate from payment.

* Go to Invoicing > Configuration > Accounting > Chart of Accounts
* Search for withholding tax related account
* Check "WHT Account"
* Go to Invoicing > Configuration > Invoicing > Withholding Tax
* Create withholding Tax (normal and personal income tax)

**Configured Withholding Tax by Product (optional)**

* Go to Invoicing > Customers or Vendors > Products
* Select product that you need withholding tax
* Add Withholding Tax on General Information Tab (Invoices) / Purchase Tab (Bills)

**Configure Personal Income Tax Rate**

#. Go to Invoicing > Configuration > Accounting > PIT Rate
#. Change range or tax rate (if any)

Configure PIT Withholding Tax as following,

#. Go to Invoicing > Configuration > Invoicing > Withholing Tax
#. Create new Withholding Tax for PIT and check Personal Income Tax checkbox
#. PIT Rate that will be used to caclulate the withholding amount will be shown
#. You can set default Withholding Tax on the Product's Purchase Tab

Usage
=====

Tax Invoice
===========

With this, 2 new tax related fields will be introduced in account.move.tax.invoice

1. tax_invoice_number : Tax Invoice Number
2. tax_invoice_date : Tax Invoice Date

In customer invoice, both field will be defaulted by Odoo's document number and date.
But in supplier invoice, both field must be filled by user with tax invoice number and date from vendor.

Note: The new table account.move.tax.invoice is the main source of Thai VAT Report

**Case Customer Invoice and Payment**

- Create new customer invoice and choose to use sales' VAT or Undue VAT
- Process invoice and payment as per normal, Odoo document number and date should be used as Tax Invoice Number/Date

**Case Supplier Invoice/Payment**

**1) Case Input VAT**

- Create new vendor bill and choose Input VAT
- At vendor bill's tax invoice tab, fill in 2 new fields, ``Tax Invoice`` and ``Tax Date`` given by your vendor
- Validate this vendor bill, the given Tax Invoice Number and Tax Date are set in account.move.tax.invoice

**2) Case Undue Input VAT**

- Create new vendor bill and choose Undue Input VAT
- Validate vendor bill, journal entry will be created with Undue VAT
- Register payment as per normal, this will create new payment document as per normal
- From this process, the journal entry (cash basis) for clear undue is created, but it will be in state **Draft**
- Go to payment document, in tax invoice tab, fill in Tax Invoice Number and Tax Date
- Click on Clear VAT button, the journal entry (cash basis) for clear undue will now be **Posted**

Withholding Tax
===============

From bills / invoices that require withheld tax,

- Create invoice and Fill withholding tax in Field WT at Invoice Lines tab.
- Post > Register Payment.
- System will auto computed amount include withholding tax.

**Note**

- if you configured withholding tax on product, it fill withholding tax in field WT automatic.
- for invoices with withholding tax,

- you can't make payment to multiple invoices belongs to multiple partners.
- you can only make payment to multiple invoices belongs to the same partner (using Group Payments).

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-thailand/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-thailand/issues/new?body=module:%20l10n_th_account_tax%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Ecosoft

Contributors
~~~~~~~~~~~~

* `Ecosoft <http://ecosoft.co.th>`__:

* Kitti U. <[email protected]>
* Saran Lim. <[email protected]>
* Pimolnat Suntian <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-kittiu| image:: https://github.com/kittiu.png?size=40px
:target: https://github.com/kittiu
:alt: kittiu

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-kittiu|

This module is part of the `OCA/l10n-thailand <https://github.com/OCA/l10n-thailand/tree/14.0/l10n_th_account_tax>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions l10n_th_account_tax/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2019 Ecosoft Co., Ltd (http://ecosoft.co.th/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)

from . import models
from . import wizard
32 changes: 32 additions & 0 deletions l10n_th_account_tax/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2019 Ecosoft Co., Ltd (http://ecosoft.co.th/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
{
"name": "Thai Localization - VAT and Withholding Tax",
"version": "14.0.1.0.0",
"author": "Ecosoft, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/l10n-thailand",
"category": "Localization / Accounting",
"depends": ["account"],
"data": [
"data/pit_rate_data.xml",
"data/withholding_tax_type_income_data.xml",
"security/account_security.xml",
"security/ir.model.access.csv",
"wizard/account_payment_register_views.xml",
"views/res_config_settings_views.xml",
"views/account_view.xml",
"views/account_move_view.xml",
"views/withholding_tax_cert.xml",
"views/account_withholding_tax.xml",
"views/withholding_tax_code_income.xml",
"views/account_withholding_move.xml",
"views/product_view.xml",
"views/account_payment_view.xml",
"views/personal_income_tax_view.xml",
"views/res_partner_view.xml",
],
"installable": True,
"development_status": "Beta",
"maintainers": ["kittiu"],
}
71 changes: 71 additions & 0 deletions l10n_th_account_tax/data/pit_rate_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="thailand_pit" model="personal.income.tax">
<field name="active" eval="True" />
</record>

<record id="thailand_pit_rate_0" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">1</field>
<field name="income_from">0.0</field>
<field name="income_to">150000.0</field>
<field name="tax_rate">0.0</field>
</record>

<record id="thailand_pit_rate_5" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">2</field>
<field name="income_from">150000.0</field>
<field name="income_to">300000.0</field>
<field name="tax_rate">5.0</field>
</record>

<record id="thailand_pit_rate_10" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">3</field>
<field name="income_from">300000.0</field>
<field name="income_to">500000.0</field>
<field name="tax_rate">10.0</field>
</record>

<record id="thailand_pit_rate_15" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">4</field>
<field name="income_from">500000.0</field>
<field name="income_to">750000.0</field>
<field name="tax_rate">15.0</field>
</record>

<record id="thailand_pit_rate_20" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">5</field>
<field name="income_from">750000.0</field>
<field name="income_to">1000000.0</field>
<field name="tax_rate">20.0</field>
</record>

<record id="thailand_pit_rate_25" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">6</field>
<field name="income_from">1000000.0</field>
<field name="income_to">2000000.0</field>
<field name="tax_rate">25.0</field>
</record>

<record id="thailand_pit_rate_30" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">7</field>
<field name="income_from">2000000.0</field>
<field name="income_to">4000000.0</field>
<field name="tax_rate">30.0</field>
</record>

<record id="thailand_pit_rate_35" model="personal.income.tax.rate">
<field name="pit_id" ref="l10n_th_account_tax.thailand_pit" />
<field name="sequence">7</field>
<field name="income_from">4000000.0</field>
<field name="income_to">99999999999.0</field>
<field name="tax_rate">35.0</field>
</record>

</odoo>
34 changes: 34 additions & 0 deletions l10n_th_account_tax/data/withholding_tax_type_income_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="withholding_tax_pnd1_401n" model="withholding.tax.code.income">
<field name="name">เงินได้มาตรา 40(1) เงินเดือน ค่าจ้าง กรณีทั่วไป</field>
<field name="code">401N</field>
<field name="income_tax_form">pnd1</field>
<field name="wht_cert_income_type">1</field>
</record>
<record id="withholding_tax_pnd1_4012" model="withholding.tax.code.income">
<field
name="name"
>เงินได้มาตรา 40(1)(2) กรณีนายจ้างจ่ายให้ครั้งเดียวเพราะเหตุออกจากงาน</field>
<field name="code">4012</field>
<field name="income_tax_form">pnd1</field>
<field name="wht_cert_income_type">1</field>

</record>
<record id="withholding_tax_pnd1_402I" model="withholding.tax.code.income">
<field
name="name"
>เงินได้มาตรา 40(2) กรณีผู้มีเงินได้เป็นผู้อยู่ในประเทศไทย</field>
<field name="code">402I</field>
<field name="income_tax_form">pnd1</field>
<field name="wht_cert_income_type">2</field>
</record>
<record id="withholding_tax_pnd1_402E" model="withholding.tax.code.income">
<field
name="name"
>เงินได้มาตรา 40(2) กรณีผู้มีเงินได้มิได้เป็นผู้อยู่ในประเทศไทย</field>
<field name="code">402E</field>
<field name="income_tax_form">pnd1</field>
<field name="wht_cert_income_type">2</field>
</record>
</odoo>
14 changes: 14 additions & 0 deletions l10n_th_account_tax/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2019 Ecosoft Co., Ltd (https://ecosoft.co.th/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)

from . import res_company
from . import res_config_settings
from . import product
from . import personal_income_tax
from . import withholding_tax_cert
from . import account
from . import account_move
from . import account_payment
from . import account_withholding_tax
from . import account_withholding_move
from . import res_partner
Loading
Loading