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 |
Anand Doshi | fab0904 | 2014-05-27 08:39:35 +0530 | [diff] [blame] | 4 | erpnext.patches.v4_0.fix_employee_user_id |
Anand Doshi | 4985691 | 2014-05-28 18:49:13 +0530 | [diff] [blame] | 5 | erpnext.patches.v4_0.remove_employee_role_if_no_employee |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 6 | erpnext.patches.v4_0.update_user_properties |
Anand Doshi | 4985691 | 2014-05-28 18:49:13 +0530 | [diff] [blame] | 7 | erpnext.patches.v4_0.apply_user_permissions |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 8 | erpnext.patches.v4_0.move_warehouse_user_to_restrictions |
Nabin Hait | 9419575 | 2014-05-15 17:17:58 +0530 | [diff] [blame] | 9 | erpnext.patches.v4_0.global_defaults_to_system_settings |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 10 | 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] | 11 | execute:frappe.reload_doc('accounts', 'doctype', 'sales_invoice') # 2014-01-29 |
| 12 | execute:frappe.reload_doc('selling', 'doctype', 'sales_order') # 2014-01-29 |
| 13 | execute:frappe.reload_doc('selling', 'doctype', 'quotation') # 2014-01-29 |
| 14 | execute:frappe.reload_doc('stock', 'doctype', 'delivery_note') # 2014-01-29 |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 15 | erpnext.patches.v4_0.reload_sales_print_format |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 16 | execute:frappe.reload_doc('accounts', 'doctype', 'purchase_invoice') # 2014-01-29 |
| 17 | execute:frappe.reload_doc('buying', 'doctype', 'purchase_order') # 2014-01-29 |
| 18 | execute:frappe.reload_doc('buying', 'doctype', 'supplier_quotation') # 2014-01-29 |
| 19 | execute:frappe.reload_doc('stock', 'doctype', 'purchase_receipt') # 2014-01-29 |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 20 | execute:frappe.reload_doc('accounts', 'doctype', 'pos_setting') # 2014-01-29 |
| 21 | execute:frappe.reload_doc('selling', 'doctype', 'customer') # 2014-01-29 |
| 22 | execute:frappe.reload_doc('buying', 'doctype', 'supplier') # 2014-01-29 |
Nabin Hait | fb0b24a | 2016-01-20 14:46:26 +0530 | [diff] [blame] | 23 | execute:frappe.reload_doctype('Item') |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 24 | erpnext.patches.v4_0.map_charge_to_taxes_and_charges |
Rushabh Mehta | 793ba6b | 2014-02-14 15:47:51 +0530 | [diff] [blame] | 25 | execute:frappe.reload_doc('support', 'doctype', 'newsletter') # 2014-01-31 |
| 26 | execute:frappe.reload_doc('hr', 'doctype', 'employee') # 2014-02-03 |
Anand Doshi | e9baaa6 | 2014-02-26 12:35:33 +0530 | [diff] [blame] | 27 | execute:frappe.db.sql("update tabPage set module='Core' where name='Setup'") |
Rushabh Mehta | 1e8025b | 2015-07-24 15:16:25 +0530 | [diff] [blame] | 28 | |
| 29 | # inserted this patch here since Item types are being changed |
| 30 | erpnext.patches.v5_2.change_item_selects_to_checks |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 31 | erpnext.patches.v4_0.fields_to_be_renamed |
| 32 | erpnext.patches.v4_0.rename_sitemap_to_route |
| 33 | erpnext.patches.v4_0.fix_contact_address |
| 34 | erpnext.patches.v4_0.customer_discount_to_pricing_rule |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 35 | 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] | 36 | erpnext.patches.v4_0.remove_module_home_pages |
| 37 | erpnext.patches.v4_0.split_email_settings |
Nabin Hait | 827480f | 2014-05-12 17:45:37 +0530 | [diff] [blame] | 38 | erpnext.patches.v4_0.import_country_codes |
| 39 | erpnext.patches.v4_0.countrywise_coa |
Nabin Hait | 155c96b | 2014-03-21 12:15:13 +0530 | [diff] [blame] | 40 | execute:frappe.delete_doc("DocType", "MIS Control") |
| 41 | execute:frappe.delete_doc("Page", "Financial Statements") |
Nabin Hait | 2594e41 | 2014-04-28 16:23:45 +0530 | [diff] [blame] | 42 | execute:frappe.delete_doc("DocType", "Stock Ledger") |
Nabin Hait | 02d37bb | 2014-05-06 12:18:50 +0530 | [diff] [blame] | 43 | execute:frappe.delete_doc("DocType", "Grade") |
Anand Doshi | 0c85169 | 2014-05-08 17:40:12 +0530 | [diff] [blame] | 44 | execute:frappe.db.sql("delete from `tabWebsite Item Group` where ifnull(item_group, '')=''") |
Anand Doshi | 4c83e40 | 2014-05-13 17:37:56 +0530 | [diff] [blame] | 45 | execute:frappe.delete_doc("Print Format", "SalesInvoice") |
Nabin Hait | ea7e3d6 | 2014-05-14 18:51:45 +0530 | [diff] [blame] | 46 | execute:import frappe.defaults;frappe.defaults.clear_default("price_list_currency") |
Nabin Hait | 0e6554e | 2014-05-20 15:27:02 +0530 | [diff] [blame] | 47 | erpnext.patches.v4_0.update_account_root_type |
Nabin Hait | 19d1e49 | 2014-06-04 15:18:24 +0530 | [diff] [blame] | 48 | execute:frappe.delete_doc("Report", "Purchase In Transit") |
Rushabh Mehta | eaa2e55 | 2014-06-05 14:44:16 +0530 | [diff] [blame] | 49 | erpnext.patches.v4_0.new_address_template |
Rushabh Mehta | ba83e9c | 2014-06-05 17:56:12 +0530 | [diff] [blame] | 50 | execute:frappe.delete_doc("DocType", "SMS Control") |
Anand Doshi | b6c5b21 | 2015-08-18 16:27:20 +0530 | [diff] [blame] | 51 | execute:frappe.delete_doc_if_exists("DocType", "Bulk SMS") #2015-08-18 |
Anand Doshi | 4a069a1 | 2014-06-06 16:28:03 +0530 | [diff] [blame] | 52 | erpnext.patches.v4_0.fix_case_of_hr_module_def |
Anand Doshi | fc60165 | 2014-06-06 17:07:50 +0530 | [diff] [blame] | 53 | erpnext.patches.v4_0.fix_address_template |
Anand Doshi | 171c00c | 2014-06-06 15:09:26 +0530 | [diff] [blame] | 54 | |
| 55 | # WATCHOUT: This patch reload's documents |
| 56 | erpnext.patches.v4_0.reset_permissions_for_masters |
Neil Trini Lasrado | 6e343e2 | 2016-03-09 17:02:59 +0530 | [diff] [blame] | 57 | erpnext.patches.v6_20x.rename_project_name_to_project #2016-03-14 |
Anand Doshi | cdfa9a3 | 2014-06-09 11:26:50 +0530 | [diff] [blame] | 58 | |
Nabin Hait | b63e99e | 2014-06-09 12:49:09 +0530 | [diff] [blame] | 59 | erpnext.patches.v4_0.update_tax_amount_after_discount |
Rushabh Mehta | bd9b62f | 2014-11-28 11:45:02 +0530 | [diff] [blame] | 60 | execute:frappe.permissions.reset_perms("GL Entry") #2014-06-09 |
| 61 | execute:frappe.permissions.reset_perms("Stock Ledger Entry") #2014-06-09 |
Nabin Hait | d532d2f | 2014-06-09 15:59:04 +0530 | [diff] [blame] | 62 | erpnext.patches.v4_0.create_custom_fields_for_india_specific_fields |
Anand Doshi | c01db5f | 2014-06-09 18:01:14 +0530 | [diff] [blame] | 63 | erpnext.patches.v4_0.save_default_letterhead |
Nabin Hait | 91016ba | 2014-06-09 18:41:25 +0530 | [diff] [blame] | 64 | erpnext.patches.v4_0.update_custom_print_formats_for_renamed_fields |
Nabin Hait | e7f2d31 | 2014-06-12 14:58:09 +0530 | [diff] [blame] | 65 | erpnext.patches.v4_0.update_other_charges_in_custom_purchase_print_formats |
Anand Doshi | c1bfb63 | 2014-06-13 12:41:08 +0530 | [diff] [blame] | 66 | erpnext.patches.v4_0.create_price_list_if_missing |
Anand Doshi | ccf370f | 2014-06-16 13:50:11 +0530 | [diff] [blame] | 67 | execute:frappe.db.sql("update `tabItem` set end_of_life=null where end_of_life='0000-00-00'") #2014-06-16 |
Nabin Hait | 9109004 | 2014-06-18 10:29:53 +0530 | [diff] [blame] | 68 | erpnext.patches.v4_0.update_users_report_view_settings |
Nabin Hait | 444f956 | 2014-06-20 15:59:49 +0530 | [diff] [blame] | 69 | erpnext.patches.v4_0.set_pricing_rule_for_buying_or_selling |
Anand Doshi | 83da92f | 2014-06-23 18:04:07 +0530 | [diff] [blame] | 70 | erpnext.patches.v4_0.set_naming_series_property_setter |
Anand Doshi | 5ba7ab0 | 2014-06-27 21:00:05 +0530 | [diff] [blame] | 71 | erpnext.patches.v4_1.set_outgoing_email_footer |
Rushabh Mehta | 5f42276 | 2014-07-01 18:08:37 +0530 | [diff] [blame] | 72 | erpnext.patches.v4_1.fix_sales_order_delivered_status |
Anand Doshi | 8adb211 | 2014-07-09 11:09:33 +0530 | [diff] [blame] | 73 | erpnext.patches.v4_1.fix_delivery_and_billing_status |
ankitjavalkarwork | 87633d6 | 2014-07-22 18:14:30 +0530 | [diff] [blame] | 74 | execute:frappe.db.sql("update `tabAccount` set root_type='Liability' where root_type='Income' and report_type='Balance Sheet'") |
nabinhait | 0796119 | 2014-07-29 12:12:09 +0530 | [diff] [blame] | 75 | execute:frappe.delete_doc("DocType", "Payment to Invoice Matching Tool") # 29-07-2014 |
| 76 | execute:frappe.delete_doc("DocType", "Payment to Invoice Matching Tool Detail") # 29-07-2014 |
Anand Doshi | cb86d59 | 2014-07-22 19:02:11 +0530 | [diff] [blame] | 77 | execute:frappe.delete_doc("Page", "trial-balance") #2014-07-22 |
Anand Doshi | bd748bd | 2014-07-29 08:51:41 +0530 | [diff] [blame] | 78 | erpnext.patches.v4_2.delete_old_print_formats #2014-07-29 |
Anand Doshi | 35cc320 | 2014-07-30 17:00:05 +0530 | [diff] [blame] | 79 | erpnext.patches.v4_2.toggle_rounded_total #2014-07-30 |
Nabin Hait | 05b56d0 | 2014-08-07 15:03:25 +0530 | [diff] [blame] | 80 | erpnext.patches.v4_2.fix_account_master_type |
Rushabh Mehta | c9bd3f5 | 2014-08-04 16:37:23 +0530 | [diff] [blame] | 81 | erpnext.patches.v4_2.update_project_milestones |
Anand Doshi | 6b8145a | 2014-08-08 13:24:18 +0530 | [diff] [blame] | 82 | erpnext.patches.v4_2.add_currency_turkish_lira #2014-08-08 |
nabinhait | fe39442 | 2014-07-22 18:04:13 +0530 | [diff] [blame] | 83 | execute:frappe.delete_doc("DocType", "Landed Cost Wizard") |
Rushabh Mehta | 52f04da | 2014-08-25 15:17:20 +0530 | [diff] [blame] | 84 | erpnext.patches.v4_2.default_website_style |
Anand Doshi | 98eacdb | 2014-09-01 10:23:47 +0530 | [diff] [blame] | 85 | erpnext.patches.v4_2.set_company_country |
ankitjavalkarwork | 28a975d | 2014-08-26 15:04:56 +0530 | [diff] [blame] | 86 | erpnext.patches.v4_2.update_sales_order_invoice_field_name |
Nabin Hait | 7820b17 | 2014-10-10 18:02:23 +0530 | [diff] [blame] | 87 | erpnext.patches.v4_2.seprate_manufacture_and_repack |
| 88 | execute:frappe.delete_doc("Report", "Warehouse-Wise Stock Balance") |
Nabin Hait | 8a28ccf | 2014-10-14 11:41:44 +0530 | [diff] [blame] | 89 | execute:frappe.delete_doc("DocType", "Purchase Request") |
| 90 | execute:frappe.delete_doc("DocType", "Purchase Request Item") |
Nabin Hait | 9bbfca9 | 2014-10-15 12:24:38 +0530 | [diff] [blame] | 91 | erpnext.patches.v4_2.recalculate_bom_cost |
| 92 | erpnext.patches.v4_2.fix_gl_entries_for_stock_transactions |
Nabin Hait | 9114c26 | 2014-11-04 15:33:41 +0530 | [diff] [blame] | 93 | erpnext.patches.v4_2.update_requested_and_ordered_qty |
Anand Doshi | 5745cf7 | 2015-03-31 17:31:53 +0530 | [diff] [blame] | 94 | execute:frappe.rename_doc("DocType", "Support Ticket", "Issue", force=True) |
Nabin Hait | a6a70a5 | 2014-11-12 17:00:42 +0530 | [diff] [blame] | 95 | erpnext.patches.v4_4.make_email_accounts |
Rushabh Mehta | 7d36875 | 2014-11-24 14:16:47 +0530 | [diff] [blame] | 96 | execute:frappe.delete_doc("DocType", "Contact Control") |
Nabin Hait | 2244ac4 | 2015-01-12 17:35:14 +0530 | [diff] [blame] | 97 | erpnext.patches.v4_2.discount_amount |
Nabin Hait | cbdfb76 | 2014-12-31 13:30:36 +0530 | [diff] [blame] | 98 | erpnext.patches.v4_2.reset_bom_costs |
Nabin Hait | c68646c | 2014-10-06 12:56:51 +0530 | [diff] [blame] | 99 | erpnext.patches.v5_0.update_frozen_accounts_permission_role |
ankitjavalkarwork | e69a611 | 2014-10-08 12:46:02 +0530 | [diff] [blame] | 100 | erpnext.patches.v5_0.update_dn_against_doc_fields |
Nabin Hait | a6a70a5 | 2014-11-12 17:00:42 +0530 | [diff] [blame] | 101 | execute:frappe.db.sql("update `tabMaterial Request` set material_request_type = 'Material Transfer' where material_request_type = 'Transfer'") |
Nabin Hait | 249bbbc | 2014-11-26 15:35:08 +0530 | [diff] [blame] | 102 | execute:frappe.reload_doc('stock', 'doctype', 'item') |
| 103 | execute:frappe.db.sql("update `tabItem` i set apply_warehouse_wise_reorder_level=1, re_order_level=0, re_order_qty=0 where exists(select name from `tabItem Reorder` where parent=i.name)") |
Neil Trini Lasrado | 8d34417 | 2014-12-12 11:33:50 +0530 | [diff] [blame] | 104 | erpnext.patches.v5_0.set_default_company_in_bom |
Nabin Hait | b120520 | 2015-02-18 11:54:08 +0530 | [diff] [blame] | 105 | execute:frappe.reload_doc('crm', 'doctype', 'lead') |
| 106 | execute:frappe.reload_doc('crm', 'doctype', 'opportunity') |
Nabin Hait | 8f5b8c65 | 2015-05-11 11:15:14 +0530 | [diff] [blame] | 107 | erpnext.patches.v5_0.rename_taxes_and_charges_master |
Nabin Hait | 5464ca8 | 2015-07-16 12:19:57 +0530 | [diff] [blame] | 108 | erpnext.patches.v5_1.sales_bom_rename |
Nabin Hait | 56ac3fb | 2015-01-01 13:40:18 +0530 | [diff] [blame] | 109 | erpnext.patches.v5_0.rename_table_fieldnames |
Nabin Hait | 56ac3fb | 2015-01-01 13:40:18 +0530 | [diff] [blame] | 110 | execute:frappe.db.sql("update `tabJournal Entry` set voucher_type='Journal Entry' where ifnull(voucher_type, '')=''") |
Rushabh Mehta | 38c6b52 | 2015-04-23 13:14:17 +0530 | [diff] [blame] | 111 | erpnext.patches.v5_0.is_group |
Nabin Hait | ebc4ae7 | 2015-01-02 12:46:49 +0530 | [diff] [blame] | 112 | erpnext.patches.v4_2.party_model |
Anand Doshi | 5445c46 | 2015-04-02 17:42:02 +0530 | [diff] [blame] | 113 | erpnext.patches.v5_0.party_model_patch_fix |
Nabin Hait | 56ac3fb | 2015-01-01 13:40:18 +0530 | [diff] [blame] | 114 | erpnext.patches.v4_1.fix_jv_remarks |
Nabin Hait | 3f671ea | 2015-01-21 14:07:15 +0530 | [diff] [blame] | 115 | erpnext.patches.v4_2.update_landed_cost_voucher |
Neil Trini Lasrado | dc65dc3 | 2015-01-27 12:27:10 +0530 | [diff] [blame] | 116 | erpnext.patches.v4_2.set_item_has_batch |
Nabin Hait | ad3fd51 | 2015-02-20 14:23:42 +0530 | [diff] [blame] | 117 | erpnext.patches.v4_2.update_stock_uom_for_dn_in_sle |
Nabin Hait | ebc4ae7 | 2015-01-02 12:46:49 +0530 | [diff] [blame] | 118 | erpnext.patches.v5_0.recalculate_total_amount_in_jv |
Neil Trini Lasrado | bd2ac2f | 2015-01-05 16:01:57 +0530 | [diff] [blame] | 119 | erpnext.patches.v5_0.update_companywise_payment_account |
Rushabh Mehta | 5bceebc | 2015-01-23 15:22:13 +0530 | [diff] [blame] | 120 | erpnext.patches.v5_0.remove_birthday_events |
Neil Trini Lasrado | 41acbff | 2015-01-20 17:39:46 +0530 | [diff] [blame] | 121 | erpnext.patches.v5_0.update_item_name_in_bom |
Rushabh Mehta | 46e03ea | 2015-02-17 10:45:50 +0530 | [diff] [blame] | 122 | erpnext.patches.v5_0.rename_customer_issue |
Nabin Hait | b120520 | 2015-02-18 11:54:08 +0530 | [diff] [blame] | 123 | erpnext.patches.v5_0.rename_total_fields |
Anand Doshi | 0fe8546 | 2015-02-17 14:37:45 +0530 | [diff] [blame] | 124 | erpnext.patches.v5_0.new_crm_module |
Rushabh Mehta | 6de403f | 2013-12-13 14:10:14 +0530 | [diff] [blame] | 125 | erpnext.patches.v5_0.rename_customer_issue |
Rushabh Mehta | 06072c1 | 2015-02-17 11:50:45 +0530 | [diff] [blame] | 126 | erpnext.patches.v5_0.update_material_transfer_for_manufacture |
Pratik Vyas | d102cba | 2015-04-07 15:32:15 +0530 | [diff] [blame] | 127 | execute:frappe.reload_doc('crm', 'doctype', 'opportunity_item') |
Neil Trini Lasrado | e9d45bc | 2015-02-18 20:01:27 +0530 | [diff] [blame] | 128 | erpnext.patches.v5_0.update_item_description_and_image |
Anand Doshi | 5b73da9 | 2015-03-16 17:10:28 +0530 | [diff] [blame] | 129 | erpnext.patches.v5_0.update_material_transferred_for_manufacturing |
Rushabh Mehta | c7a11cc | 2015-02-19 16:28:35 +0530 | [diff] [blame] | 130 | erpnext.patches.v5_0.stock_entry_update_value |
Rushabh Mehta | dc93e0a | 2015-02-20 15:11:56 +0530 | [diff] [blame] | 131 | erpnext.patches.v5_0.convert_stock_reconciliation |
Rushabh Mehta | d54031f | 2015-02-22 22:32:39 +0530 | [diff] [blame] | 132 | erpnext.patches.v5_0.update_projects |
Rushabh Mehta | d06c118 | 2015-02-23 11:31:35 +0530 | [diff] [blame] | 133 | erpnext.patches.v5_0.item_patches |
Rushabh Mehta | a1da88a | 2015-02-23 20:18:38 +0530 | [diff] [blame] | 134 | erpnext.patches.v5_0.update_journal_entry_title |
Nabin Hait | 6dfbc24 | 2015-02-23 20:00:17 +0530 | [diff] [blame] | 135 | erpnext.patches.v5_0.taxes_and_totals_in_party_currency |
| 136 | erpnext.patches.v5_0.replace_renamed_fields_in_custom_scripts_and_print_formats |
Rushabh Mehta | 6cdfd1e | 2015-02-25 15:55:57 +0530 | [diff] [blame] | 137 | erpnext.patches.v5_0.update_from_bom |
Rushabh Mehta | 66a9279 | 2015-02-25 17:15:45 +0530 | [diff] [blame] | 138 | erpnext.patches.v5_0.update_account_types |
Rushabh Mehta | 905f832 | 2015-03-02 13:01:39 +0530 | [diff] [blame] | 139 | erpnext.patches.v5_0.update_sms_sender |
Neil Trini Lasrado | fd0920f | 2015-03-02 17:33:48 +0530 | [diff] [blame] | 140 | erpnext.patches.v5_0.set_appraisal_remarks |
Rushabh Mehta | 2cc585f | 2015-02-26 15:01:23 +0530 | [diff] [blame] | 141 | erpnext.patches.v5_0.update_time_log_title |
Nabin Hait | c3daa91 | 2015-04-16 13:13:18 +0530 | [diff] [blame] | 142 | erpnext.patches.v4_2.repost_sle_for_si_with_no_warehouse |
Rushabh Mehta | 14ae4c3 | 2015-03-18 20:02:44 +0530 | [diff] [blame] | 143 | erpnext.patches.v5_0.newsletter |
Nabin Hait | b6061e5 | 2015-03-24 17:11:58 +0530 | [diff] [blame] | 144 | execute:frappe.delete_doc("DocType", "Chart of Accounts") |
| 145 | execute:frappe.delete_doc("DocType", "Style Settings") |
Rushabh Mehta | bb2041d | 2015-04-02 22:11:16 +0530 | [diff] [blame] | 146 | erpnext.patches.v5_0.update_opportunity |
Rushabh Mehta | fd0f1cb | 2015-04-13 16:21:58 +0530 | [diff] [blame] | 147 | erpnext.patches.v5_0.opportunity_not_submittable |
Nabin Hait | fbdc0dc | 2015-05-08 01:24:28 +0530 | [diff] [blame] | 148 | execute:frappe.permissions.reset_perms("Purchase Taxes and Charges Template") #2014-06-09 |
Rushabh Mehta | 80f8b7b | 2015-04-19 16:18:15 +0530 | [diff] [blame] | 149 | execute:frappe.permissions.reset_perms("Expense Claim Type") #2014-06-19 |
Nabin Hait | b650d69 | 2015-04-21 17:16:28 +0530 | [diff] [blame] | 150 | erpnext.patches.v5_0.execute_on_doctype_update |
Nabin Hait | 2ba88c4 | 2015-04-17 12:05:00 +0530 | [diff] [blame] | 151 | erpnext.patches.v4_2.fix_recurring_orders |
| 152 | erpnext.patches.v4_2.delete_gl_entries_for_cancelled_invoices |
Neil Trini Lasrado | e7ddb72 | 2015-04-15 18:21:53 +0530 | [diff] [blame] | 153 | erpnext.patches.v5_0.project_costing |
Nabin Hait | 042f86e | 2015-04-28 13:00:23 +0530 | [diff] [blame] | 154 | erpnext.patches.v5_0.update_temporary_account |
Nabin Hait | d51b092 | 2015-05-01 20:31:11 +0530 | [diff] [blame] | 155 | erpnext.patches.v5_0.update_advance_paid |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 156 | erpnext.patches.v5_0.link_warehouse_with_account |
Nabin Hait | 08c0c04 | 2015-05-07 16:59:51 +0530 | [diff] [blame] | 157 | execute:frappe.delete_doc("Page", "stock-ledger") |
Nabin Hait | 15c2844 | 2015-05-08 01:28:01 +0530 | [diff] [blame] | 158 | execute:frappe.delete_doc("Page","stock-level") |
| 159 | erpnext.patches.v5_0.reclculate_planned_operating_cost_in_production_order |
Nabin Hait | 6752b31 | 2015-05-08 12:49:35 +0530 | [diff] [blame] | 160 | erpnext.patches.v5_0.repost_requested_qty |
Nabin Hait | b893972 | 2015-05-15 15:15:25 +0530 | [diff] [blame] | 161 | erpnext.patches.v5_0.fix_taxes_and_totals_in_party_currency |
Pratik Vyas | 1a84d8e | 2015-05-19 12:23:52 +0530 | [diff] [blame] | 162 | erpnext.patches.v5_0.update_tax_amount_after_discount_in_purchase_cycle |
Rushabh Mehta | a27cca9 | 2015-05-20 15:43:17 +0530 | [diff] [blame] | 163 | erpnext.patches.v5_0.rename_pos_setting |
Rushabh Mehta | f29a618 | 2015-05-25 10:50:48 +0530 | [diff] [blame] | 164 | erpnext.patches.v5_0.update_operation_description |
| 165 | erpnext.patches.v5_0.set_footer_address |
Rushabh Mehta | 306c49f | 2015-05-26 15:14:58 +0530 | [diff] [blame] | 166 | execute:frappe.db.set_value("Backup Manager", None, "send_backups_to_dropbox", 1 if frappe.db.get_value("Backup Manager", None, "upload_backups_to_dropbox") in ("Daily", "Weekly") else 0) |
Pratik Vyas | 37ee57c | 2015-05-28 12:51:37 +0530 | [diff] [blame] | 167 | execute:frappe.db.sql_list("delete from `tabDocPerm` where parent='Issue' and modified_by='Administrator' and role='Guest'") |
Rushabh Mehta | b0b446e | 2015-05-29 12:43:39 +0530 | [diff] [blame] | 168 | erpnext.patches.v5_0.update_item_and_description_again |
Rushabh Mehta | 5a70082 | 2016-03-03 16:47:36 +0530 | [diff] [blame] | 169 | erpnext.patches.v6_0.multi_currency |
Rushabh Mehta | a33d468 | 2015-06-01 17:15:42 +0530 | [diff] [blame] | 170 | erpnext.patches.v5_0.repost_gle_for_jv_with_multiple_party |
| 171 | erpnext.patches.v5_0.portal_fixes |
Nabin Hait | 3c1017c | 2015-06-05 12:15:01 +0530 | [diff] [blame] | 172 | erpnext.patches.v5_0.reset_values_in_tools |
Nabin Hait | 56fcf30 | 2015-06-05 18:21:25 +0530 | [diff] [blame] | 173 | execute:frappe.delete_doc("Page", "users") |
Nabin Hait | 39046d6 | 2015-06-14 20:59:13 +0530 | [diff] [blame] | 174 | erpnext.patches.v5_0.update_material_transferred_for_manufacturing_again |
Neil Trini Lasrado | a25e8ea | 2015-06-30 17:15:13 +0530 | [diff] [blame] | 175 | erpnext.patches.v5_0.index_on_account_and_gl_entry |
| 176 | execute:frappe.db.sql("""delete from `tabProject Task`""") |
Rushabh Mehta | 6b35ea8 | 2015-07-01 12:25:18 +0530 | [diff] [blame] | 177 | erpnext.patches.v5_0.update_item_desc_in_invoice |
| 178 | erpnext.patches.v5_1.fix_against_account |
Neil Trini Lasrado | cc08c68 | 2015-07-13 12:35:20 +0530 | [diff] [blame] | 179 | erpnext.patches.v5_1.fix_credit_days_based_on |
Neil Trini Lasrado | 4089b3d | 2015-07-07 16:58:14 +0530 | [diff] [blame] | 180 | execute:frappe.rename_doc("DocType", "Salary Manager", "Process Payroll", force=True) |
Rushabh Mehta | 51e7086 | 2015-07-15 16:30:22 +0530 | [diff] [blame] | 181 | erpnext.patches.v5_1.rename_roles |
Neil Trini Lasrado | 20523c4 | 2015-07-15 16:39:05 +0530 | [diff] [blame] | 182 | erpnext.patches.v5_1.default_bom |
Rushabh Mehta | 1e8025b | 2015-07-24 15:16:25 +0530 | [diff] [blame] | 183 | execute:frappe.delete_doc("DocType", "Party Type") |
Anand Doshi | 2f443a5 | 2015-07-30 14:44:43 +0530 | [diff] [blame] | 184 | execute:frappe.delete_doc("Module Def", "Contacts") |
Nabin Hait | 17405d4 | 2015-07-30 13:47:02 +0530 | [diff] [blame] | 185 | erpnext.patches.v5_4.fix_reserved_qty_and_sle_for_packed_items # 30-07-2015 |
Nabin Hait | d1dc622 | 2015-07-29 16:37:02 +0530 | [diff] [blame] | 186 | execute:frappe.reload_doctype("Leave Type") |
Nabin Hait | 94f15fc | 2015-08-03 11:16:55 +0530 | [diff] [blame] | 187 | execute:frappe.db.sql("update `tabLeave Type` set include_holiday=0") |
Nabin Hait | 1db0b6d | 2015-08-03 15:37:41 +0530 | [diff] [blame] | 188 | erpnext.patches.v5_4.set_root_and_report_type |
| 189 | erpnext.patches.v5_4.notify_system_managers_regarding_wrong_tax_calculation |
Nabin Hait | ad44b00 | 2015-08-03 17:43:58 +0530 | [diff] [blame] | 190 | erpnext.patches.v5_4.fix_invoice_outstanding |
Rushabh Mehta | a208c56 | 2015-08-03 13:18:54 +0530 | [diff] [blame] | 191 | execute:frappe.db.sql("update `tabStock Ledger Entry` set stock_queue = '[]' where voucher_type = 'Stock Reconciliation' and ifnull(qty_after_transaction, 0) = 0") |
Anand Doshi | aa5182b | 2015-08-04 23:06:01 +0530 | [diff] [blame] | 192 | erpnext.patches.v5_4.fix_missing_item_images |
Nabin Hait | 3c3a3ec | 2015-08-07 17:17:03 +0530 | [diff] [blame] | 193 | erpnext.patches.v5_4.stock_entry_additional_costs |
Anand Doshi | bfbf768 | 2015-08-14 12:05:50 +0530 | [diff] [blame] | 194 | erpnext.patches.v5_4.cleanup_journal_entry #2015-08-14 |
Rushabh Mehta | 2645980 | 2015-08-13 11:46:01 +0530 | [diff] [blame] | 195 | execute:frappe.db.sql("update `tabProduction Order` pro set description = (select description from tabItem where name=pro.production_item) where ifnull(description, '') = ''") |
Anand Doshi | b6c5b21 | 2015-08-18 16:27:20 +0530 | [diff] [blame] | 196 | erpnext.patches.v5_7.item_template_attributes |
Anand Doshi | fe13bfe | 2015-08-25 12:49:40 +0530 | [diff] [blame] | 197 | execute:frappe.delete_doc_if_exists("DocType", "Manage Variants") |
| 198 | execute:frappe.delete_doc_if_exists("DocType", "Manage Variants Item") |
Anand Doshi | cf7adb5 | 2015-08-20 15:38:52 +0530 | [diff] [blame] | 199 | erpnext.patches.v4_2.repost_reserved_qty #2015-08-20 |
Nabin Hait | fa5fcf5 | 2015-08-18 12:39:50 +0530 | [diff] [blame] | 200 | erpnext.patches.v5_4.update_purchase_cost_against_project |
Anand Doshi | fe13bfe | 2015-08-25 12:49:40 +0530 | [diff] [blame] | 201 | erpnext.patches.v5_8.update_order_reference_in_return_entries |
| 202 | erpnext.patches.v5_8.add_credit_note_print_heading |
| 203 | execute:frappe.delete_doc_if_exists("Print Format", "Credit Note - Negative Invoice") |
Rushabh Mehta | 17679c6 | 2015-08-26 22:19:41 +0530 | [diff] [blame] | 204 | |
| 205 | # V6.0 |
Nabin Hait | 59c4ae5 | 2015-09-03 10:46:48 +0530 | [diff] [blame] | 206 | erpnext.patches.v6_0.set_default_title # 2015-09-03 |
Rushabh Mehta | 91b0e23 | 2015-08-31 15:04:48 +0530 | [diff] [blame] | 207 | erpnext.patches.v6_0.default_activity_rate |
Rushabh Mehta | 85abdc4 | 2015-09-03 10:29:38 +0530 | [diff] [blame] | 208 | execute:frappe.db.set_value("Stock Settings", None, "automatically_set_serial_nos_based_on_fifo", 1) |
Nabin Hait | d387dd3 | 2015-09-08 16:14:36 +0530 | [diff] [blame] | 209 | execute:frappe.db.sql("""update `tabProject` set percent_complete=round(percent_complete, 2) where percent_complete is not null""") |
Nabin Hait | 83a358a | 2015-09-07 15:22:24 +0530 | [diff] [blame] | 210 | erpnext.patches.v6_0.fix_outstanding_amount |
Nabin Hait | 2377cdf | 2015-09-09 18:45:41 +0530 | [diff] [blame] | 211 | erpnext.patches.v6_0.fix_planned_qty |
Anand Doshi | e9b14e4 | 2015-09-17 17:46:37 +0530 | [diff] [blame] | 212 | erpnext.patches.v6_2.remove_newsletter_duplicates |
Anand Doshi | 0332f83 | 2015-09-17 19:01:27 +0530 | [diff] [blame] | 213 | erpnext.patches.v6_2.fix_missing_default_taxes_and_lead |
Rushabh Mehta | 72fbf90 | 2015-09-17 18:29:44 +0530 | [diff] [blame] | 214 | erpnext.patches.v6_3.convert_applicable_territory |
Anand Doshi | d970b00 | 2015-09-25 17:57:20 +0530 | [diff] [blame] | 215 | erpnext.patches.v6_4.round_status_updater_percentages |
Nabin Hait | 7a287a9 | 2015-10-02 15:32:00 +0530 | [diff] [blame] | 216 | erpnext.patches.v6_4.repost_gle_for_journal_entries_where_reference_name_missing |
Rushabh Mehta | d10ba85 | 2015-10-02 12:42:48 +0530 | [diff] [blame] | 217 | erpnext.patches.v6_4.fix_journal_entries_due_to_reconciliation |
| 218 | erpnext.patches.v6_4.fix_status_in_sales_and_purchase_order |
Nabin Hait | b7e46c4 | 2015-10-12 16:46:29 +0530 | [diff] [blame] | 219 | erpnext.patches.v6_4.fix_modified_in_sales_order_and_purchase_order |
Rushabh Mehta | 86125b2 | 2015-10-13 11:48:08 +0530 | [diff] [blame] | 220 | erpnext.patches.v6_4.fix_duplicate_bins |
| 221 | erpnext.patches.v6_4.fix_sales_order_maintenance_status |
Rushabh Mehta | 1742991 | 2015-09-29 16:36:57 +0530 | [diff] [blame] | 222 | erpnext.patches.v6_4.email_digest_update |
Anand Doshi | 71ebad5 | 2015-10-02 17:14:40 +0530 | [diff] [blame] | 223 | |
| 224 | # delete shopping cart doctypes |
| 225 | execute:frappe.delete_doc_if_exists("DocType", "Applicable Territory") |
| 226 | execute:frappe.delete_doc_if_exists("DocType", "Shopping Cart Price List") |
| 227 | execute:frappe.delete_doc_if_exists("DocType", "Shopping Cart Taxes and Charges Master") |
Anand Doshi | eca2e42 | 2016-01-27 12:36:21 +0530 | [diff] [blame] | 228 | |
Rushabh Mehta | 73e7379 | 2015-10-07 11:07:43 +0530 | [diff] [blame] | 229 | erpnext.patches.v6_4.set_user_in_contact |
Anand Doshi | 95dfc27 | 2015-10-20 19:03:30 +0530 | [diff] [blame] | 230 | erpnext.patches.v6_4.make_image_thumbnail #2015-10-20 |
Anand Doshi | 7c0eadb | 2015-10-20 17:30:02 +0530 | [diff] [blame] | 231 | erpnext.patches.v6_5.show_in_website_for_template_item |
Nabin Hait | be46469 | 2015-10-21 12:06:51 +0530 | [diff] [blame] | 232 | erpnext.patches.v6_4.fix_expense_included_in_valuation |
Nabin Hait | a90a052 | 2015-10-28 15:50:26 +0530 | [diff] [blame] | 233 | execute:frappe.delete_doc_if_exists("Report", "Item-wise Last Purchase Rate") |
Anand Doshi | c794ca5 | 2015-10-27 16:56:22 +0530 | [diff] [blame] | 234 | erpnext.patches.v6_6.fix_website_image |
Nabin Hait | 7c654cd | 2015-11-06 10:37:26 +0530 | [diff] [blame] | 235 | erpnext.patches.v6_6.remove_fiscal_year_from_leave_allocation |
Rushabh Mehta | 511421b | 2015-11-13 11:04:50 +0530 | [diff] [blame] | 236 | execute:frappe.delete_doc_if_exists("DocType", "Stock UOM Replace Utility") |
Anand Doshi | 7221805 | 2015-11-23 19:00:11 +0530 | [diff] [blame] | 237 | erpnext.patches.v6_8.make_webform_standard #2015-11-23 |
Saurabh | 20628f5 | 2015-11-18 12:18:59 +0530 | [diff] [blame] | 238 | erpnext.patches.v6_8.move_drop_ship_to_po_items |
Anand Doshi | ebae726 | 2015-11-25 15:51:01 +0530 | [diff] [blame] | 239 | erpnext.patches.v6_10.fix_ordered_received_billed |
Nabin Hait | 6c173e9 | 2015-11-30 16:07:43 +0530 | [diff] [blame] | 240 | erpnext.patches.v6_10.fix_jv_total_amount #2015-11-30 |
Rushabh Mehta | 9785cd3 | 2015-11-27 12:23:31 +0530 | [diff] [blame] | 241 | erpnext.patches.v6_10.email_digest_default_quote |
Saurabh | 70ed6ed | 2015-12-08 14:02:53 +0530 | [diff] [blame] | 242 | erpnext.patches.v6_10.fix_billed_amount_in_drop_ship_po |
Nabin Hait | 4ad0963 | 2015-12-08 16:50:20 +0530 | [diff] [blame] | 243 | erpnext.patches.v6_10.fix_delivery_status_of_drop_ship_item #2015-12-08 |
Nabin Hait | a974ab3 | 2015-12-08 12:56:14 +0530 | [diff] [blame] | 244 | erpnext.patches.v5_8.tax_rule #2015-12-08 |
Rushabh Mehta | 13ec41a | 2015-12-10 12:31:36 +0530 | [diff] [blame] | 245 | erpnext.patches.v6_12.set_overdue_tasks |
Nabin Hait | a613ea8 | 2016-01-20 18:31:20 +0530 | [diff] [blame] | 246 | erpnext.patches.v6_16.update_billing_status_in_dn_and_pr |
Anand Doshi | eca2e42 | 2016-01-27 12:36:21 +0530 | [diff] [blame] | 247 | erpnext.patches.v6_16.create_manufacturer_records |
| 248 | execute:frappe.db.sql("update `tabPricing Rule` set title=name where title='' or title is null") #2016-01-27 |
Anand Doshi | 17d4fc4 | 2016-01-19 18:38:08 +0530 | [diff] [blame] | 249 | erpnext.patches.v6_20.set_party_account_currency_in_orders |
Anand Doshi | 7b52dc9 | 2016-02-26 20:49:33 +0530 | [diff] [blame] | 250 | erpnext.patches.v6_19.comment_feed_communication |
Rushabh Mehta | 3cdf354 | 2016-02-08 11:52:22 +0530 | [diff] [blame] | 251 | erpnext.patches.v6_21.fix_reorder_level |
Neil Trini Lasrado | abd9248 | 2016-02-03 18:33:43 +0530 | [diff] [blame] | 252 | erpnext.patches.v6_21.rename_material_request_fields |
Nabin Hait | 5a4c7d3 | 2016-02-29 12:01:44 +0530 | [diff] [blame] | 253 | erpnext.patches.v6_23.update_stopped_status_to_closed |
Rushabh Mehta | 5839a8d | 2016-03-02 17:51:24 +0530 | [diff] [blame] | 254 | erpnext.patches.v6_24.repost_valuation_rate_for_serialized_items |
| 255 | erpnext.patches.v6_24.set_recurring_id |
shreyas | 6f8dfa4 | 2016-03-07 18:22:40 +0530 | [diff] [blame] | 256 | erpnext.patches.v6_20x.set_compact_print |
Anand Doshi | 6d59a41 | 2016-03-10 14:20:49 +0530 | [diff] [blame] | 257 | execute:frappe.delete_doc_if_exists("Web Form", "contact") #2016-03-10 |
Anand Doshi | 4284fcf | 2016-03-11 17:16:30 +0530 | [diff] [blame] | 258 | erpnext.patches.v6_20x.remove_fiscal_year_from_holiday_list |
Nabin Hait | 2646f84 | 2016-03-21 15:19:51 +0530 | [diff] [blame] | 259 | erpnext.patches.v6_24.map_customer_address_to_shipping_address_on_po |
Rushabh Mehta | c20c536 | 2016-03-25 17:19:28 +0530 | [diff] [blame] | 260 | erpnext.patches.v6_27.fix_recurring_order_status |
Nabin Hait | 3a15c92 | 2016-03-04 12:30:46 +0530 | [diff] [blame] | 261 | erpnext.patches.v6_20x.remove_customer_supplier_roles |
| 262 | erpnext.patches.v6_24.rename_item_field |
Rushabh Mehta | f16f9c5 | 2016-04-08 17:20:50 +0530 | [diff] [blame] | 263 | erpnext.patches.v7_0.update_party_status |