2012-07-19 13:40:31 +05:30
from __future__ import unicode_literals
2012-03-28 11:32:44 +05:30
def execute ( ) :
import webnotes
2012-04-02 14:06:46 +05:30
from webnotes . modules import reload_doc
2012-03-28 11:32:44 +05:30
reload_doc ( ' stock ' , ' DocType Mapper ' , ' Sales Order-Delivery Note ' )
2012-03-30 12:29:06 +05:30
reload_doc ( ' accounts ' , ' DocType Mapper ' , ' Sales Order-Sales Invoice ' )
reload_doc ( ' accounts ' , ' DocType Mapper ' , ' Delivery Note-Sales Invoice ' )
2012-03-28 11:38:25 +05:30
webnotes . conn . sql ( " delete from `tabField Mapper Detail` where parent = ' Sales Order-Delivery Note ' and from_field = ' basic_rate ' and to_field = ' basic_rate ' " )