TIP: You can type at any time to perform a new search.
Thai Localization - Convert Amount Text to Thai
l10n_th_amount_to_text · OCA/l10n-thailand
- Repository
- OCA/l10n-thailand · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Localization
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-thailand
- Last tracking update
- 2026-08-07 09:06:36
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- Baptiste Pellarin, OCA-git-bot, oca-ci
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Odoo's core functionality includes the `amount_to_text` function, which converts numerical amounts into text based on the user's language settings or context. However, this conversion may produce incorrect results for Thai. **Example:** - Amount: 45.75 Baht - User Language: **Thai** → สี่สิบห้า Baht และ เจ็ดสิบห้า Satang - User Language: **English** → Forty-Five Baht and Seventy-Five Satang These results are inaccurate for Thai language formatting. This module provides a base for accurately converting numbers to Thai text.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (1)-
amount_to_text(self, amount)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…