fix: hide tax id on pos invoice when enabled

(cherry picked from commit a340b5c7cf18f01babecd8d0ea3bfc2c32f6522d)
This commit is contained in:
Shllokkk
2026-10-22 21:53:49 +05:30
parent 43fe7cbcc2
commit 47242897fe
@@ -95,7 +95,7 @@ class SellingSettings(Document):
_hide_tax_id = cint(self.hide_tax_id)
# Make property setters to hide tax_id fields
for doctype in ("Sales Order", "Sales Invoice", "Delivery Note"):
for doctype in ("Sales Order", "Sales Invoice", "Delivery Note", "POS Invoice"):
make_property_setter(
doctype, "tax_id", "hidden", _hide_tax_id, "Check", validate_fields_for_doctype=False
)