Anand Doshi | 7fbdba0 | 2014-03-25 13:50:52 +0530 | [diff] [blame] | 1 | execute:import unidecode # new requirement |
| 2 | |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 3 | erpnext.patches.v4_0.validate_v3_patch |
| 4 | execute:frappe.db.sql("""update `tabPatch Log` set patch=replace(patch, '4_0', 'v4_0')""") |
| 5 | erpnext.patches.v4_0.update_user_properties |
| 6 | erpnext.patches.v4_0.move_warehouse_user_to_restrictions |
| 7 | erpnext.patches.v4_0.new_permissions |
| 8 | erpnext.patches.v4_0.update_incharge_name_to_sales_person_in_maintenance_schedule |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 9 | execute:frappe.reload_doc('accounts', 'doctype', 'sales_invoice') # 2014-01-29 |
| 10 | execute:frappe.reload_doc('selling', 'doctype', 'sales_order') # 2014-01-29 |
| 11 | execute:frappe.reload_doc('selling', 'doctype', 'quotation') # 2014-01-29 |
| 12 | execute:frappe.reload_doc('stock', 'doctype', 'delivery_note') # 2014-01-29 |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 13 | erpnext.patches.v4_0.reload_sales_print_format |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 14 | execute:frappe.reload_doc('accounts', 'doctype', 'purchase_invoice') # 2014-01-29 |
| 15 | execute:frappe.reload_doc('buying', 'doctype', 'purchase_order') # 2014-01-29 |
| 16 | execute:frappe.reload_doc('buying', 'doctype', 'supplier_quotation') # 2014-01-29 |
| 17 | execute:frappe.reload_doc('stock', 'doctype', 'purchase_receipt') # 2014-01-29 |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 18 | erpnext.patches.v4_0.reload_purchase_print_format |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 19 | execute:frappe.reload_doc('accounts', 'doctype', 'pos_setting') # 2014-01-29 |
| 20 | execute:frappe.reload_doc('selling', 'doctype', 'customer') # 2014-01-29 |
| 21 | execute:frappe.reload_doc('buying', 'doctype', 'supplier') # 2014-01-29 |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 22 | erpnext.patches.v4_0.map_charge_to_taxes_and_charges |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 23 | execute:frappe.reload_doc('support', 'doctype', 'newsletter') # 2014-01-31 |
| 24 | execute:frappe.reload_doc('hr', 'doctype', 'employee') # 2014-02-03 |
Anand Doshi | e9baaa6 | 2014-02-26 12:35:33 +0530 | [diff] [blame] | 25 | execute:frappe.db.sql("update tabPage set module='Core' where name='Setup'") |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 26 | erpnext.patches.v4_0.fields_to_be_renamed |
| 27 | erpnext.patches.v4_0.rename_sitemap_to_route |
| 28 | erpnext.patches.v4_0.fix_contact_address |
| 29 | erpnext.patches.v4_0.customer_discount_to_pricing_rule |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 30 | execute:frappe.db.sql("""delete from `tabWebsite Item Group` where ifnull(item_group, '')=''""") |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 31 | erpnext.patches.v4_0.remove_module_home_pages |
| 32 | erpnext.patches.v4_0.split_email_settings |
| 33 | erpnext.patches.v4_0.fix_employee_user_id |
| 34 | erpnext.patches.v4_0.import_country_codes |
| 35 | erpnext.patches.v4_0.countrywise_coa |
Nabin Hait | 155c96b | 2014-03-21 12:15:13 +0530 | [diff] [blame] | 36 | execute:frappe.delete_doc("DocType", "MIS Control") |
| 37 | execute:frappe.delete_doc("Page", "Financial Statements") |
Nabin Hait | 2594e41 | 2014-04-28 16:23:45 +0530 | [diff] [blame] | 38 | execute:frappe.delete_doc("DocType", "Stock Ledger") |
Nabin Hait | 576f025 | 2014-04-30 19:30:50 +0530 | [diff] [blame] | 39 | execute:frappe.db.sql("update `tabJournal Voucher` set voucher_type='Journal Entry' where ifnull(voucher_type, '')=''") |
Nabin Hait | 02d37bb | 2014-05-06 12:18:50 +0530 | [diff] [blame] | 40 | execute:frappe.delete_doc("DocType", "Grade") |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 41 | erpnext.patches.v4_0.remove_india_specific_fields |
Anand Doshi | f410bd9 | 2014-05-07 17:11:04 +0530 | [diff] [blame] | 42 | execute:frappe.delete_doc_if_exists("DocType", "Warehouse User") |
Anand Doshi | 0c85169 | 2014-05-08 17:40:12 +0530 | [diff] [blame] | 43 | execute:frappe.db.sql("delete from `tabWebsite Item Group` where ifnull(item_group, '')=''") |