mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix: hide tax id on pos invoice when enabled
(cherry picked from commit a340b5c7cf18f01babecd8d0ea3bfc2c32f6522d)
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user