mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 10:45:29 +00:00
fix: inventory dimension for maintence visit
(cherry picked from commit cd4ba69262)
This commit is contained in:
committed by
Mergify
parent
9318e4f0e8
commit
ec3b281a3b
@@ -237,7 +237,12 @@ class InventoryDimension(Document):
|
|||||||
custom_fields["Stock Ledger Entry"] = dimension_field
|
custom_fields["Stock Ledger Entry"] = 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