fix: Map item_code to title (#17403)

When making Project from Sales Order, description was mapped
with Task title which can exceed 140 characters easily.
Description should be mapped with description as it is html field.
This commit is contained in:
Faris Ansari
2019-04-29 22:41:48 +05:30
committed by GitHub
parent 61b4afc3c5
commit 4b21225cf4

View File

@@ -551,7 +551,7 @@ def make_project(source_name, target_doc=None):
"Sales Order Item": {
"doctype": "Project Task",
"field_map": {
"description": "title",
"item_code": "title",
},
}
}, target_doc, postprocess)