fix in patch list
diff --git a/erpnext/accounts/DocType Mapper/Sales Order-Sales Invoice/Sales Order-Sales Invoice.txt b/erpnext/accounts/DocType Mapper/Sales Order-Sales Invoice/Sales Order-Sales Invoice.txt
index efa1291..09af9b7 100644
--- a/erpnext/accounts/DocType Mapper/Sales Order-Sales Invoice/Sales Order-Sales Invoice.txt
+++ b/erpnext/accounts/DocType Mapper/Sales Order-Sales Invoice/Sales Order-Sales Invoice.txt
@@ -5,7 +5,7 @@
{
'creation': '2010-09-20 12:33:35',
'docstatus': 0,
- 'modified': '2012-03-30 13:33:31',
+ 'modified': '2012-04-02 13:05:04',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
diff --git a/erpnext/patches/jan_mar_2012/rename_dt.py b/erpnext/patches/jan_mar_2012/rename_dt.py
index e2cd2f0..99d498c 100644
--- a/erpnext/patches/jan_mar_2012/rename_dt.py
+++ b/erpnext/patches/jan_mar_2012/rename_dt.py
@@ -7,10 +7,10 @@
from webnotes.utils import make_esc
import os
-def execute():
+def execute1():
update_file_content({'Follow up': 'Communication'})
-def execute1():
+def execute():
# delete dt, mapper
delete_dt_and_mapper()
diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py
index a4a0ac7..4caf82e 100644
--- a/erpnext/patches/patch_list.py
+++ b/erpnext/patches/patch_list.py
@@ -232,6 +232,7 @@
'patch_file': 'delete_docformat',
'description': 'Deletes DocFormat from database'
},
+ {
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_mapper',
'description': 'SO-DN, SO-Rv, DN-RV'
diff --git a/erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt b/erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt
index 651131e..f50c05b 100644
--- a/erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt
+++ b/erpnext/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt
@@ -5,7 +5,7 @@
{
'creation': '2010-09-20 12:33:35',
'docstatus': 0,
- 'modified': '2012-03-27 14:17:39',
+ 'modified': '2012-04-02 13:05:03',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -131,6 +131,16 @@
{
'checking_operator': u'=',
'doctype': u'Field Mapper Detail',
+ 'from_field': u'basic_rate',
+ 'map': u'Yes',
+ 'match_id': 1,
+ 'to_field': u'basic_rate'
+ },
+
+ # Field Mapper Detail
+ {
+ 'checking_operator': u'=',
+ 'doctype': u'Field Mapper Detail',
'from_field': u'export_rate',
'map': u'Yes',
'match_id': 1,
@@ -264,4 +274,4 @@
'to_table': u'Delivery Note',
'validation_logic': u'docstatus = 1'
}
-]
+]
\ No newline at end of file