feat: Thai language for every customization
- translations/th.csv: custom field labels, messages, print format and letter head text, the 22 Tax Withholding Category names; overrides the upstream Thai for the standard labels the print formats show - print formats embed Sarabun (public/fonts, OFL) so PDFs render Thai on servers without a Thai font - letter head labels go through _() - withholding row description is translated when stored - in_words: Thai "...บาทถ้วน" wording via num2words when the language is Thai (ThaiSalesInvoice.set_total_in_words); print formats re-derive it in the print language (get_in_words) - fixture `modified` bumped so migrate re-imports the changed documents
This commit is contained in:
@@ -78,6 +78,7 @@ jinja = {
|
||||
"methods": [
|
||||
"default_thai_company.utils.get_letter_head_company",
|
||||
"default_thai_company.utils.get_company_bank_account",
|
||||
"default_thai_company.utils.get_in_words",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user