fix: inventory dimension for maintence visit

This commit is contained in:
Rohit Waghchaure
2025-02-20 09:05:17 +05:30
parent a81867bc43
commit cd4ba69262

View File

@@ -236,7 +236,12 @@ class InventoryDimension(Document):
custom_fields[dt] = 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():