Skip to content

Commit

Permalink
fix: Purposes not set
Browse files Browse the repository at this point in the history
(cherry picked from commit f9a7b31)
  • Loading branch information
rohitwaghchaure authored and mergify[bot] committed Aug 25, 2022
1 parent 362976f commit 94ebfa7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def update_serial(source, target, parent):
},
"Maintenance Schedule Item": {
"doctype": "Maintenance Visit Purpose",
"condition": lambda doc: doc.item_name == item_name,
"condition": lambda doc: doc.item_name == item_name if item_name else True,
"field_map": {"sales_person": "service_person"},
"postprocess": update_serial,
},
Expand Down

0 comments on commit 94ebfa7

Please sign in to comment.