Browse Source

Merge branch 'master' of github.com:webnotes/wnframework

version-14
Rushabh Mehta 14 years ago
parent
commit
778f0b3ea2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cgi-bin/webnotes/utils/transfer.py

+ 1
- 1
cgi-bin/webnotes/utils/transfer.py View File

@@ -316,7 +316,7 @@ class UpdateDocTypeMapper(UpdateDocumentMerge):
if d.doctype=='Field Mapper Detail':
return webnotes.conn.sql("select name from `tabField Mapper Detail` where from_field=%s and to_field=%s and match_id=%s and parent=%s", (d.from_field, d.to_field, d.match_id, d.parent))
elif d.doctype=='Table Mapper Detail':
return webnotes.conn.sql("select name from `tabTable Mapper Detail` where from_table=%s and to_table = %s and match_id=%s and parent=%s", (d.from_table, d.to_table, d.match_id, d.parent))
return webnotes.conn.sql("select name from `tabTable Mapper Detail` where from_table=%s and to_table = %s and match_id=%s and validation_logic=%s and parent=%s", (d.from_table, d.to_table, d.match_id, d.validation_logic, d.parent))
def get_orignal_values(self, d):
if d.doctype in ['Field Mapper Detail', 'Table Mapper Detail']:


Loading…
Cancel
Save