modules renamed in customer_address and feed patch
diff --git a/patches/old_patches/customer_address.py b/patches/old_patches/customer_address.py
index 6a031c4..41c97b8 100644
--- a/patches/old_patches/customer_address.py
+++ b/patches/old_patches/customer_address.py
@@ -6,7 +6,7 @@
def make_address():
from webnotes.modules.module_manager import reload_doc
- reload_doc('tools','doctype','address')
+ reload_doc('utilities','doctype','address')
from webnotes.model.db_schema import updatedb
updatedb('Address')
@@ -113,24 +113,24 @@
def reload_doc_files():
from webnotes.modules.module_manager import reload_doc
- reload_doc('tools', 'doctype', 'contact')
- reload_doc('crm', 'doctype', 'customer')
- reload_doc('maintenance', 'doctype', 'customer_issue')
- reload_doc('material_management', 'doctype', 'delivery_note')
- reload_doc('crm', 'doctype', 'enquiry')
- reload_doc('crm', 'doctype', 'installation_note')
- reload_doc('crm', 'doctype', 'lead')
- reload_doc('maintenance', 'doctype', 'maintenance_schedule')
- reload_doc('maintenance', 'doctype', 'maintenance_visit')
- reload_doc('srm', 'doctype', 'purchase_order')
- reload_doc('material_management', 'doctype', 'purchase_receipt')
- reload_doc('crm', 'doctype', 'quotation')
+ reload_doc('utilities', 'doctype', 'contact')
+ reload_doc('selling', 'doctype', 'customer')
+ reload_doc('support', 'doctype', 'customer_issue')
+ reload_doc('stock', 'doctype', 'delivery_note')
+ reload_doc('selling', 'doctype', 'enquiry')
+ reload_doc('selling', 'doctype', 'installation_note')
+ reload_doc('selling', 'doctype', 'lead')
+ reload_doc('support', 'doctype', 'maintenance_schedule')
+ reload_doc('support', 'doctype', 'maintenance_visit')
+ reload_doc('buying', 'doctype', 'purchase_order')
+ reload_doc('stock', 'doctype', 'purchase_receipt')
+ reload_doc('selling', 'doctype', 'quotation')
reload_doc('accounts', 'doctype', 'receivable_voucher')
reload_doc('accounts', 'doctype', 'payable_voucher')
- reload_doc('crm', 'doctype', 'sales_order')
+ reload_doc('selling', 'doctype', 'sales_order')
reload_doc('setup', 'doctype', 'sales_partner')
- reload_doc('material_management', 'doctype', 'serial_no')
- reload_doc('srm', 'doctype', 'supplier')
+ reload_doc('stock', 'doctype', 'serial_no')
+ reload_doc('buying', 'doctype', 'supplier')
def reload_mapper_files():
from webnotes.modules.module_manager import reload_doc
diff --git a/patches/old_patches/feed_patch.py b/patches/old_patches/feed_patch.py
index d368aa0..9d8ab0b 100644
--- a/patches/old_patches/feed_patch.py
+++ b/patches/old_patches/feed_patch.py
@@ -98,6 +98,5 @@
webnotes.model.delete_doc('DocType','Support Ticket')
reload_doc('setup','doctype','support_email_settings')
- reload_doc('maintenance','doctype','support_ticket')
- reload_doc('maintenance','doctype','support_ticket_response')
-
+ reload_doc('support','doctype','support_ticket')
+ reload_doc('support','doctype','support_ticket_response')