mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +00:00
Merge pull request #46037 from rohitwaghchaure/fixed-support-31955
fix: inventory dimension for maintenance visit
This commit is contained in:
@@ -236,7 +236,12 @@ class InventoryDimension(Document):
|
|||||||
custom_fields[dt] = dimension_field
|
custom_fields[dt] = dimension_field
|
||||||
|
|
||||||
filter_custom_fields = {}
|
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:
|
if custom_fields:
|
||||||
for doctype, fields in custom_fields.items():
|
for doctype, fields in custom_fields.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user