Thai Localization - Convert Amount Text to Thai
l10n_th_amount_to_text · OCA/l10n-thailand
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
1 model
0 views
0 HTTP endpoints
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.
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…