TIP: You can type at any time to perform a new search.
Thai Localization - Expense Tax
l10n_th_account_tax_expense · OCA/l10n-thailand
- Repository
- OCA/l10n-thailand · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Localization / Accounting
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/l10n-thailand
- Last tracking update
- 2026-08-07 08:43:05
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- Saran440, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module make sure that Expense will also comply with Tax Invoice concept of l10n_th_account_tax. In case expense has VAT, - Expense's Bill Reference and Date will be used as Tax Invoice Number and Tax Invoice Date - Without Bill Reference, Post Journal Entry is not allowed This module also provide addition step to create withholding tax journal entry.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_expense_view_form |
hr.expense.view.form | hr.expense | form | Inherits hr_expense.hr_expense_view_form |
view_account_payment_register_form |
account.payment.register.form | account.payment.register | form | Inherits l10n_th_account_tax.view_account_payment_register_form |
view_hr_expense_sheet_form |
view.hr.expense.sheet.form | hr.expense.sheet | form | Inherits hr_expense.view_hr_expense_sheet_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (0)
No new fields.
Public methods (2)-
button_cancel(self)Check Withholding tax JV before cancel journal entry on clearing -
button_draft(self)Unlink withholding tax on clearing
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
bill_partner_idMany2one → res.partnercomodel_name='res.partner'default=<expr>string='Vendor Reference'
No public methods.
New fields (4)
-
bill_partner_idMany2one → res.partnercomodel_name='res.partner'string='Vendor Reference'tracking=True -
tax_dateDate -
tax_numberChar -
wht_tax_idMany2one → account.withholding.taxcomodel_name='account.withholding.tax'compute='_compute_wht_tax_id'readonly=Falsestore=Truestring='WHT'tracking=True
No public methods.
New fields (2)
-
need_wht_entryBooleancompute='_compute_need_wht_entry'help='Tell user that this advance clearing is pending create withholding tax entry.' -
wht_move_idMany2one → account.movecomodel_name='account.move'copy=Falsehelp='For case clear advance, a JV can be created to record withholding tax'ondelete='set null'readonly=Truestring='Withholding Tax JV'tracking=True
-
action_create_withholding_tax_entry(self)From expense sheet with WHT lines, this action helps create new JV with default withholding entries -
action_open_wht_move(self) -
action_register_payment(self)For Clearing, never deduct WHT auto -
action_sheet_move_post(self)Update tax invoice from expense
Loading…
Loading…