mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
fix in mapper
This commit is contained in:
7
erpnext/patches/mar_2012/so_rv_mapper_fix.py
Normal file
7
erpnext/patches/mar_2012/so_rv_mapper_fix.py
Normal 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')
|
||||
Reference in New Issue
Block a user