fix in mapper

This commit is contained in:
Anand Doshi 2012-03-28 19:12:36 +05:30
parent 2f74d2e7bd
commit 419260298b

View File

@ -0,0 +1,7 @@
def execute():
import webnotes
webnotes.conn.sql("""DELETE FROM `tabTable Mapper Detail`
WHERE parent='Sales Order-Receivable Voucher'
AND from_table='Sales Order Detail'""")
from webnotes.modules.module_manager import reload_doc
reload_doc('accounts', 'DocType Mapper', 'Sales Order-Receivable Voucher')