reload mapper for checking ref value

This commit is contained in:
Nabin Hait 2012-03-28 11:38:25 +05:30
parent 13f789701e
commit 5b00addaf7

View File

@ -5,3 +5,5 @@ def execute():
reload_doc('stock', 'DocType Mapper', 'Sales Order-Delivery Note')
reload_doc('accounts', 'DocType Mapper', 'Sales Order-Receivable Voucher')
reload_doc('accounts', 'DocType Mapper', 'Delivery Note-Receivable Voucher')
webnotes.conn.sql("delete from `tabField Mapper Detail` where parent = 'Sales Order-Delivery Note' and from_field = 'basic_rate' and to_field = 'basic_rate'")