fix: Map item_code to title (#17402)

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-30 10:18:39 +05:30
committed by GitHub
parent e1df414f8b
commit c1bbaf07a4

View File

@@ -544,7 +544,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)