kurogeek 9091caffab feat: company-driven letter head and Thai address template
- Letter Head fixture renders company details (logo, name, tax id, address,
  phone, email) from the printed document's company via a jinja helper
  instead of hardcoded values; falls back to the default company for
  doctypes without a company field.
- Register fixtures in hooks (Letter Head, Address Template); they were
  never imported before.
- Preserve the fixture's `source = HTML` on import: LetterHead.before_insert
  forces "Image" and fixture import is delete + insert.
- Thailand Address Template: two-line address, phone/fax/email lines kept.
2026-09-09 10:30:01 +00:00
2026-09-01 16:01:23 +07:00
2026-09-01 16:01:23 +07:00
2026-09-01 16:01:23 +07:00
2026-09-01 16:01:23 +07:00
2026-09-01 16:01:23 +07:00
2026-09-01 17:20:43 +07:00
2026-09-01 16:01:23 +07:00
2026-09-01 16:01:23 +07:00
2026-09-01 16:34:04 +07:00

Default Thai Company

Default Company Settings

Installation

You can install this app using the bench CLI:

cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app default_thai_company

Contributing

This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:

cd apps/default_thai_company
pre-commit install

Pre-commit is configured to use the following tools for checking and formatting your code:

  • ruff
  • eslint
  • prettier
  • pyupgrade

License

gpl-3.0

S
Description
No description provided
Readme
405 KiB
Languages
Python 89.8%
HTML 7.9%
JavaScript 2.3%