blob: 6e84b7bb6dbfda3f76da1bf62f0900d106116602 [file] [log] [blame]
Anand Doshi7fbdba02014-03-25 13:50:52 +05301execute:import unidecode # new requirement
2
Nabin Hait827480f2014-05-12 17:45:37 +05303erpnext.patches.v4_0.validate_v3_patch
Anand Doshifab09042014-05-27 08:39:35 +05304erpnext.patches.v4_0.fix_employee_user_id
Anand Doshi49856912014-05-28 18:49:13 +05305erpnext.patches.v4_0.remove_employee_role_if_no_employee
Nabin Hait827480f2014-05-12 17:45:37 +05306erpnext.patches.v4_0.update_user_properties
Anand Doshi49856912014-05-28 18:49:13 +05307erpnext.patches.v4_0.apply_user_permissions
Nabin Hait827480f2014-05-12 17:45:37 +05308erpnext.patches.v4_0.move_warehouse_user_to_restrictions
Nabin Hait94195752014-05-15 17:17:58 +05309erpnext.patches.v4_0.global_defaults_to_system_settings
Nabin Hait827480f2014-05-12 17:45:37 +053010erpnext.patches.v4_0.update_incharge_name_to_sales_person_in_maintenance_schedule
Rushabh Mehta793ba6b2014-02-14 15:47:51 +053011execute:frappe.reload_doc('accounts', 'doctype', 'sales_invoice') # 2014-01-29
12execute:frappe.reload_doc('selling', 'doctype', 'sales_order') # 2014-01-29
13execute:frappe.reload_doc('selling', 'doctype', 'quotation') # 2014-01-29
14execute:frappe.reload_doc('stock', 'doctype', 'delivery_note') # 2014-01-29
Nabin Hait827480f2014-05-12 17:45:37 +053015erpnext.patches.v4_0.reload_sales_print_format
Rushabh Mehta793ba6b2014-02-14 15:47:51 +053016execute:frappe.reload_doc('accounts', 'doctype', 'purchase_invoice') # 2014-01-29
17execute:frappe.reload_doc('buying', 'doctype', 'purchase_order') # 2014-01-29
18execute:frappe.reload_doc('buying', 'doctype', 'supplier_quotation') # 2014-01-29
19execute:frappe.reload_doc('stock', 'doctype', 'purchase_receipt') # 2014-01-29
Rushabh Mehta793ba6b2014-02-14 15:47:51 +053020execute:frappe.reload_doc('accounts', 'doctype', 'pos_setting') # 2014-01-29
21execute:frappe.reload_doc('selling', 'doctype', 'customer') # 2014-01-29
22execute:frappe.reload_doc('buying', 'doctype', 'supplier') # 2014-01-29
Nabin Hait827480f2014-05-12 17:45:37 +053023erpnext.patches.v4_0.map_charge_to_taxes_and_charges
Rushabh Mehta793ba6b2014-02-14 15:47:51 +053024execute:frappe.reload_doc('support', 'doctype', 'newsletter') # 2014-01-31
25execute:frappe.reload_doc('hr', 'doctype', 'employee') # 2014-02-03
Anand Doshie9baaa62014-02-26 12:35:33 +053026execute:frappe.db.sql("update tabPage set module='Core' where name='Setup'")
Nabin Hait827480f2014-05-12 17:45:37 +053027erpnext.patches.v4_0.fields_to_be_renamed
28erpnext.patches.v4_0.rename_sitemap_to_route
29erpnext.patches.v4_0.fix_contact_address
30erpnext.patches.v4_0.customer_discount_to_pricing_rule
Anand Doshif5794f12014-03-03 15:05:28 +053031execute:frappe.db.sql("""delete from `tabWebsite Item Group` where ifnull(item_group, '')=''""")
Nabin Hait827480f2014-05-12 17:45:37 +053032erpnext.patches.v4_0.remove_module_home_pages
33erpnext.patches.v4_0.split_email_settings
Nabin Hait827480f2014-05-12 17:45:37 +053034erpnext.patches.v4_0.import_country_codes
35erpnext.patches.v4_0.countrywise_coa
Nabin Hait155c96b2014-03-21 12:15:13 +053036execute:frappe.delete_doc("DocType", "MIS Control")
37execute:frappe.delete_doc("Page", "Financial Statements")
Nabin Hait2594e412014-04-28 16:23:45 +053038execute:frappe.delete_doc("DocType", "Stock Ledger")
Nabin Hait576f0252014-04-30 19:30:50 +053039execute:frappe.db.sql("update `tabJournal Voucher` set voucher_type='Journal Entry' where ifnull(voucher_type, '')=''")
Nabin Hait02d37bb2014-05-06 12:18:50 +053040execute:frappe.delete_doc("DocType", "Grade")
Anand Doshi0c851692014-05-08 17:40:12 +053041execute:frappe.db.sql("delete from `tabWebsite Item Group` where ifnull(item_group, '')=''")
Anand Doshi4c83e402014-05-13 17:37:56 +053042execute:frappe.delete_doc("Print Format", "SalesInvoice")
Nabin Haitea7e3d62014-05-14 18:51:45 +053043execute:import frappe.defaults;frappe.defaults.clear_default("price_list_currency")
Nabin Hait0e6554e2014-05-20 15:27:02 +053044erpnext.patches.v4_0.update_account_root_type
Nabin Hait19d1e492014-06-04 15:18:24 +053045execute:frappe.delete_doc("Report", "Purchase In Transit")
Rushabh Mehtaeaa2e552014-06-05 14:44:16 +053046erpnext.patches.v4_0.new_address_template
Rushabh Mehtaba83e9c2014-06-05 17:56:12 +053047execute:frappe.delete_doc("DocType", "SMS Control")
Anand Doshi4a069a12014-06-06 16:28:03 +053048erpnext.patches.v4_0.fix_case_of_hr_module_def
Anand Doshifc601652014-06-06 17:07:50 +053049erpnext.patches.v4_0.fix_address_template
Anand Doshi171c00c2014-06-06 15:09:26 +053050
51# WATCHOUT: This patch reload's documents
52erpnext.patches.v4_0.reset_permissions_for_masters
Anand Doshicdfa9a32014-06-09 11:26:50 +053053
Nabin Haitb63e99e2014-06-09 12:49:09 +053054erpnext.patches.v4_0.update_tax_amount_after_discount
Anand Doshicdfa9a32014-06-09 11:26:50 +053055execute:frappe.reset_perms("GL Entry") #2014-06-09
56execute:frappe.reset_perms("Stock Ledger Entry") #2014-06-09
Nabin Haitd532d2f2014-06-09 15:59:04 +053057erpnext.patches.v4_0.create_custom_fields_for_india_specific_fields
Anand Doshic01db5f2014-06-09 18:01:14 +053058erpnext.patches.v4_0.save_default_letterhead
Nabin Hait91016ba2014-06-09 18:41:25 +053059erpnext.patches.v4_0.update_custom_print_formats_for_renamed_fields
Nabin Haite7f2d312014-06-12 14:58:09 +053060erpnext.patches.v4_0.update_other_charges_in_custom_purchase_print_formats
Anand Doshic1bfb632014-06-13 12:41:08 +053061erpnext.patches.v4_0.create_price_list_if_missing
Anand Doshiccf370f2014-06-16 13:50:11 +053062execute:frappe.db.sql("update `tabItem` set end_of_life=null where end_of_life='0000-00-00'") #2014-06-16
Nabin Hait91090042014-06-18 10:29:53 +053063erpnext.patches.v4_0.update_users_report_view_settings
Nabin Hait444f9562014-06-20 15:59:49 +053064erpnext.patches.v4_0.set_pricing_rule_for_buying_or_selling
Anand Doshi83da92f2014-06-23 18:04:07 +053065erpnext.patches.v4_0.set_naming_series_property_setter
Anand Doshi5ba7ab02014-06-27 21:00:05 +053066erpnext.patches.v4_1.set_outgoing_email_footer
Anand Doshibc71f732014-07-01 18:12:26 +053067erpnext.patches.v4_1.fix_jv_remarks
Rushabh Mehta5f422762014-07-01 18:08:37 +053068erpnext.patches.v4_1.fix_sales_order_delivered_status
Anand Doshi8adb2112014-07-09 11:09:33 +053069erpnext.patches.v4_1.fix_delivery_and_billing_status
ankitjavalkarwork87633d62014-07-22 18:14:30 +053070execute:frappe.db.sql("update `tabAccount` set root_type='Liability' where root_type='Income' and report_type='Balance Sheet'")
nabinhait07961192014-07-29 12:12:09 +053071execute:frappe.delete_doc("DocType", "Payment to Invoice Matching Tool") # 29-07-2014
72execute:frappe.delete_doc("DocType", "Payment to Invoice Matching Tool Detail") # 29-07-2014
Anand Doshicb86d592014-07-22 19:02:11 +053073execute:frappe.delete_doc("Page", "trial-balance") #2014-07-22
Anand Doshibd748bd2014-07-29 08:51:41 +053074erpnext.patches.v4_2.delete_old_print_formats #2014-07-29
Anand Doshi35cc3202014-07-30 17:00:05 +053075erpnext.patches.v4_2.toggle_rounded_total #2014-07-30
Nabin Hait05b56d02014-08-07 15:03:25 +053076erpnext.patches.v4_2.fix_account_master_type
Rushabh Mehtac9bd3f52014-08-04 16:37:23 +053077erpnext.patches.v4_2.update_project_milestones
Anand Doshi6b8145a2014-08-08 13:24:18 +053078erpnext.patches.v4_2.add_currency_turkish_lira #2014-08-08
nabinhaitfe394422014-07-22 18:04:13 +053079execute:frappe.delete_doc("DocType", "Landed Cost Wizard")
Rushabh Mehta52f04da2014-08-25 15:17:20 +053080erpnext.patches.v4_2.default_website_style
Anand Doshi98eacdb2014-09-01 10:23:47 +053081erpnext.patches.v4_2.set_company_country
ankitjavalkarwork28a975d2014-08-26 15:04:56 +053082erpnext.patches.v4_2.update_sales_order_invoice_field_name
Neil Trini Lasrado29d1a1c2014-09-16 12:28:24 +053083erpnext.patches.v4_2.cost_of_production_cycle
Nabin Hait7820b172014-10-10 18:02:23 +053084erpnext.patches.v4_2.seprate_manufacture_and_repack
85execute:frappe.delete_doc("Report", "Warehouse-Wise Stock Balance")
Nabin Hait8a28ccf2014-10-14 11:41:44 +053086execute:frappe.delete_doc("DocType", "Purchase Request")
87execute:frappe.delete_doc("DocType", "Purchase Request Item")
Nabin Hait9bbfca92014-10-15 12:24:38 +053088erpnext.patches.v4_2.recalculate_bom_cost
89erpnext.patches.v4_2.fix_gl_entries_for_stock_transactions
Nabin Hait9114c262014-11-04 15:33:41 +053090erpnext.patches.v4_2.update_requested_and_ordered_qty
Rushabh Mehta7d368752014-11-24 14:16:47 +053091execute:frappe.delete_doc("DocType", "Contact Control")
Neil Trini Lasrado3a34cad2014-12-10 15:47:25 +053092erpnext.patches.v4_2.recalculate_bom_costs
Nabin Hait2244ac42015-01-12 17:35:14 +053093erpnext.patches.v4_2.discount_amount
Nabin Hait3f671ea2015-01-21 14:07:15 +053094erpnext.patches.v4_2.update_landed_cost_voucher
Neil Trini Lasradodc65dc32015-01-27 12:27:10 +053095erpnext.patches.v4_2.set_item_has_batch
Nabin Haitad3fd512015-02-20 14:23:42 +053096erpnext.patches.v4_2.update_stock_uom_for_dn_in_sle
Nabin Hait11498ca2015-03-09 18:28:35 +053097erpnext.patches.v4_2.repost_reserved_qty
Nabin Haitc3daa912015-04-16 13:13:18 +053098erpnext.patches.v4_2.repost_sle_for_si_with_no_warehouse
99erpnext.patches.v4_2.fix_recurring_orders