Fixes for customer / supplier renaming

This commit is contained in:
Nabin Hait
2014-08-04 13:04:50 +05:30
parent 6e4efa7edd
commit 1279f1d430
4 changed files with 23 additions and 21 deletions

View File

@@ -52,11 +52,7 @@ def make_maintenance_visit(source_name, target_doc=None):
target_doc = get_mapped_doc("Customer Issue", source_name, {
"Customer Issue": {
"doctype": "Maintenance Visit",
"field_map": {
"complaint": "description",
"doctype": "prevdoc_doctype",
"name": "prevdoc_docname"
}
"field_map": {}
}
}, target_doc)