-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '16.0' of https://github.com/OCA/l10n-thailand into 16.0…
…-fix-account_wht_cert_form-address
- Loading branch information
Showing
38 changed files
with
1,210 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ __pycache__/ | |
*.py[cod] | ||
/.venv | ||
/.pytest_cache | ||
/.ruff_cache | ||
|
||
# C extensions | ||
*.so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
==================================================== | ||
Thai Localization - Tax with Payment Multi Deduction | ||
==================================================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:c6308090f4d9d0f932aeb736f767b1c58867fe2b5c7069dc6c22b48cffa0bad9 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Alpha | ||
.. |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/16.0/l10n_th_account_tax_multi | ||
: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-16-0/l10n-thailand-16-0-l10n_th_account_tax_multi | ||
: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=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module supported multi withholding tax in invoice. | ||
|
||
.. IMPORTANT:: | ||
This is an alpha version, the data model and design can change at any time without warning. | ||
Only for development or testing purpose, do not use in production. | ||
`More details on development status <https://odoo-community.org/page/development-status>`_ | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
From vendor bill that want to withholding tax, | ||
|
||
- Create invoice and multi invoice lines. | ||
- Fill withholding tax in Field WHT each invoice lines. | ||
- Post > Register Payment. | ||
- System will auto computed amount include multi withholding tax. | ||
|
||
User can flag some line in deduction table, to keep some amount open. | ||
i..e, 100.0 will be reduced from AR/AP account, in order to keep it open. | ||
|
||
Step to keep some amount open. | ||
|
||
- Create invoice and multi invoice lines. | ||
- Fill withholding tax in Field WHT each invoice lines. | ||
- Post > Register Payment > check Open in deduction table that you need keep it. > Post | ||
- Next time, Register Payment > Fill amount residual manual > Post | ||
|
||
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_multi%0Aversion:%2016.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 Upariphutthiphong <[email protected]> | ||
* Komsan Somwong <[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/16.0/l10n_th_account_tax_multi>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) | ||
|
||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright 2020 Ecosoft Co., Ltd (https://ecosoft.co.th/) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) | ||
|
||
{ | ||
"name": "Thai Localization - Tax with Payment Multi Deduction", | ||
"version": "16.0.1.0.0", | ||
"author": "Ecosoft, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"website": "https://github.com/OCA/l10n-thailand", | ||
"category": "Localization / Accounting", | ||
"depends": ["l10n_th_account_tax", "account_payment_multi_deduction"], | ||
"data": ["wizard/account_payment_register_view.xml"], | ||
"installable": True, | ||
"development_status": "Alpha", | ||
"maintainers": ["kittiu"], | ||
"auto_install": True, | ||
} |
66 changes: 66 additions & 0 deletions
66
l10n_th_account_tax_multi/i18n/l10n_th_account_tax_multi.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * l10n_th_account_tax_multi | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \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_account_tax_multi | ||
#: model_terms:ir.ui.view,arch_db:l10n_th_account_tax_multi.view_account_payment_register_form | ||
msgid "Base" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model.fields,help:l10n_th_account_tax_multi.field_account_payment_deduction__wht_amount_base | ||
msgid "Based amount for the tax amount" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#. odoo-python | ||
#: code:addons/l10n_th_account_tax_multi/wizard/account_payment_register.py:0 | ||
#, python-format | ||
msgid "No effective PIT rate for date %s" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model.fields,help:l10n_th_account_tax_multi.field_account_payment_deduction__wht_tax_id | ||
msgid "Optional hidden field to keep wht_tax. Useful for case 1 tax only" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model.fields,field_description:l10n_th_account_tax_multi.field_account_payment_deduction__partner_id | ||
msgid "Partner" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model,name:l10n_th_account_tax_multi.model_account_payment_deduction | ||
msgid "Payment Deduction" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model,name:l10n_th_account_tax_multi.model_account_payment_register | ||
msgid "Register Payment" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model_terms:ir.ui.view,arch_db:l10n_th_account_tax_multi.view_account_payment_register_form | ||
msgid "WHT" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model.fields,field_description:l10n_th_account_tax_multi.field_account_payment_deduction__wht_amount_base | ||
msgid "Withholding Base" | ||
msgstr "" | ||
|
||
#. module: l10n_th_account_tax_multi | ||
#: model:ir.model.fields,field_description:l10n_th_account_tax_multi.field_account_payment_deduction__wht_tax_id | ||
msgid "Withholding Tax" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* `Ecosoft <http://ecosoft.co.th>`__: | ||
|
||
* Kitti Upariphutthiphong <[email protected]> | ||
* Komsan Somwong <[email protected]> | ||
* Pimolnat Suntian <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This module supported multi withholding tax in invoice. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
From vendor bill that want to withholding tax, | ||
|
||
- Create invoice and multi invoice lines. | ||
- Fill withholding tax in Field WHT each invoice lines. | ||
- Post > Register Payment. | ||
- System will auto computed amount include multi withholding tax. | ||
|
||
User can flag some line in deduction table, to keep some amount open. | ||
i..e, 100.0 will be reduced from AR/AP account, in order to keep it open. | ||
|
||
Step to keep some amount open. | ||
|
||
- Create invoice and multi invoice lines. | ||
- Fill withholding tax in Field WHT each invoice lines. | ||
- Post > Register Payment > check Open in deduction table that you need keep it. > Post | ||
- Next time, Register Payment > Fill amount residual manual > Post |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.