fix: show inclusive tax lines on the Sales Invoice print format

ERPNext's taxes template hides charges with included_in_print_rate unless
Accounts Settings > Show Inclusive Tax in Print is on. Set the flag in
the format when such taxes exist, so the tax line and Total (Without
Tax) render regardless of the site setting.

Also stop binding a throwaway Jinja variable to `_`: frappe._dict.update
returns self, so `set _ = df.update(...)` shadowed the translator.
This commit is contained in:
2026-09-11 01:45:59 +00:00
parent 05ca734e8a
commit f6daadbe0a
File diff suppressed because one or more lines are too long