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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user