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:
parent
61b4afc3c5
commit
4b21225cf4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user