mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 20:35:09 +00:00
fix: inventory dimension for maintence visit
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user