fix: inventory dimension for maintence visit

(cherry picked from commit cd4ba69262)
This commit is contained in:
Rohit Waghchaure
2025-02-20 09:05:17 +05:30
committed by Mergify
parent 9318e4f0e8
commit ec3b281a3b

View File

@@ -237,7 +237,12 @@ class InventoryDimension(Document):
custom_fields["Stock Ledger Entry"] = dimension_field
filter_custom_fields = {}
ignore_doctypes = ["Serial and Batch Bundle", "Serial and Batch Entry", "Pick List Item"]
ignore_doctypes = [
"Serial and Batch Bundle",
"Serial and Batch Entry",
"Pick List Item",
"Maintenance Visit Purpose",
]
if custom_fields:
for doctype, fields in custom_fields.items():