9b99be9abdb4de9939d4ff189fe4c8ec40d7a680
Tick Apply Tax Withholding Amount on unsaved customer receipts whose references include a Sales Invoice carrying withholding: in the get_payment_entry override (Create > Payment), in the allocate_amount_to_references doc method (Get Outstanding Invoices / Paid Amount changes, so the tax row updates live) and on first save. Saved entries keep the user's choice; unticking now removes the row. Client script recomputes the row when the checkbox or category changes.
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
Languages
Python
89.8%
HTML
7.9%
JavaScript
2.3%