forked from frappe/erpnext
/
patch_list.py
638 lines (637 loc) · 17.7 KB
/
patch_list.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
# ERPNext - web based ERP (http://erpnext.com)
# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
patch_list = [
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'stable_branch_shift_09_01_12',
'description': 'Various Reloads for shifting branch from master to stable'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'print_hide_totals',
'description': 'Uncheck print_hide for RV, SO, DN and Quotation'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'rename_doctype_indent',
'description': 'Add DocType Label: Purchase Request to Purchase Requisition'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'production_cleanup',
'description': 'Major changes in production module, almost rewrited the entire code'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'jan_production_patches',
'description': 'Fixes after Major changes in production module'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'allocated_to_profile',
'description': """Change Options to "Profile" for fieldname "allocated_to"
as this is giving improper values in Permission Engine"""
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'remove_get_tds_button',
'description': "Remove One Get TDS button, which is appearing twice in JV"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'customer_address_contact_patch',
'description': "Install Customer Address Contact report and run patches regarding primary address and contact"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'doclabel_in_doclayer',
'description': "Show DocType Labels instead of DocType names in Customize Form View"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'email_settings_reload',
'description': "Change type of mail_port field to Int and reload email_settings doctype"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'serial_no_add_opt',
'description': "Add option 'Purchase Returned' to Serial No status field"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'cancel_purchase_returned',
'description': "Set docstatus = 2 where status = 'Purchase Returned' for serial no"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'deploy_packing_slip',
'description': "Delete old packing slip fields & print format & deploy new doctypes related to Packing Slip"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'map_conversion_rate',
'description': "Maps conversion rate in doctype mappers PO-PR and PO-PV"
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'account_type_patch',
'description': 'mentioed account type for some tax accounts'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'subcon_default_val',
'description': 'Default value of is_subcontracted in PO, PR is No'
},
{
'patch_module': 'patches.jan_mar_2012.website',
'patch_file': 'all',
'description': 'Run all website related patches'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'remove_archive',
'description': 'unarchive all records and drop archive tables'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'no_copy_patch',
'description': 'insert after fld in custom fld should be no_copy'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_item',
'description': 'reload item'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'fix_packing_slip',
'description': 'Update Mapper Delivery Note-Packing Slip'
},
{
'patch_module': 'patches.jan_mar_2012.apps',
'patch_file': 'todo_item',
'description': 'Reloads todo item'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'convert_tables_to_utf8',
'description': 'Convert tables to UTF-8'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'pending_patches',
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'pos_setting_patch',
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_doctype',
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_po_pr_mapper',
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'delete_pur_of_service',
'description': 'Deletes purpose of service'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'navupdate',
'description': 'New Navigation Pages'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'label_cleanup',
'description': 'Remove extra fields and new dynamic labels'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'add_roles_to_admin',
'description': 'Add Roles to Administrator'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'dt_map_fix',
'description': 'removed transaction date from dt_mapper'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_table',
'description': 'Relaod all item table: fld order changes'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'remove_series_defval',
'description': 'Remove rv series default value'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'update_stockreco_perm',
'description': 'Update stock reco permission'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'stock_entry_others_patch',
'description': 'new purpose others in stock entry'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_quote',
'description': 'reload quote: organization fld added'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'update_purpose_se',
'description': 'Purpose SE: Others to Other'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'update_se_fld_options',
'description': 'Purpose SE: Others to Other'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'pos_invoice_fix',
'description': 'Reload POS Invoice'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'reload_mapper',
'description': 'SO-DN, SO-Rv, DN-RV'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'mapper_fix',
'description': 'DN-RV duplicate table entry'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'so_rv_mapper_fix',
'description': 'SO-RV duplicate mapper entry removal'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'clean_property_setter',
'description': 'Patch related to property setter cleanup'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'sync_ref_db',
'description': 'Deletes non required doctypes'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'naming_series_patch',
'description': 'Move naming series options into property setter'
},
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'rename_dt',
'description': 'Rename DocType Patch'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'cleanup_control_panel',
'description': 'Remove email related fields from Control Panel'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'doctype_get_refactor',
'description': 'Patch related to doctype get refactoring'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'delete_docformat',
'description': 'Deletes DocFormat from database'
},
{
'patch_module': 'patches.mar_2012',
'patch_file': 'usertags',
'description': 'Adds _user_tags columns to tables'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'reload_c_form',
'description': 'Added attchemnt option and total field'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'after_sync_cleanup',
'description': 'cleanup after sync'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'change_cacheitem_schema',
'description': 'Modified datatype of `value` column from text to longtext'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'remove_default_from_rv_detail',
'description': ''
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'update_role_in_address',
'description': 'updated roles in address'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'update_permlevel_in_address',
'description': 'updated permlevel in address'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'update_appraisal_permission',
'description': 'updated permission in appraisal'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'serial_no_fixes',
'description': 'fixes for sle creation while import'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'repost_stock_for_posting_time',
'description': 'repost stock for posting time 00:00:seconds'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'cleanup_property_setter',
'description': 'cleanup_property_setter'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'rename_prev_doctype',
'description': 'rename prev doctype fix'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'cleanup_notification_control',
'description': 'cleanup notification control'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'renamedt_in_custom_search_criteria',
'description': 'raname dt in custom search criteria'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'stock_reco_patch',
'description': 'stock reco patch: store diff info in field'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'reload_reports',
'description': 'reload reports: itemwise sales/delivery details'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'page_role_series_fix',
'description': 'reset series of page role at max'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'reload_sales_invoice_pf',
'description': 'Reload sales invoice print formats'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'std_pf_readonly',
'description': 'Make standard print formats readonly for system manager'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'reload_so_pending_items',
'description': 'reload so pending items'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'customize_form_cleanup',
'description': 'cleanup customize form records'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'cs_server_readonly',
'description': 'Make server custom script readonly for system manager'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'clear_session_cache',
'description': 'clears session cache as shifting to json format'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'same_purchase_rate_patch',
'description': 'Main same rate throughout pur cycle: in global defaults, by default set true'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'create_report_manager_role',
'description': 'Create report manager role if not exists'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'reload_customer_address_contact',
'description': 'Reload report customer address contact'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'profile_perm_patch',
'description': 'Make profile readonly for role All'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'remove_euro_currency',
'description': 'Remove EURO currency and replace with EUR'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'remove_communication_log',
'description': 'Remove Communication Log and replace it with Communication'
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'barcode_in_feature_setup',
'description': 'Track item by barcode'
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'copy_uom_for_pur_inv_item',
'description': 'Copy uom for pur inv item from PO and PR item table'
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'fetch_organization_from_lead',
'description': 'Fetch organization from lead in quote'
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'reports_list_permission',
'description': 'allow read permission to all for report list'
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'support_ticket_autoreply',
'description': 'New Send Autoreply checkbox in Email Settings'
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'series_unique_patch',
'description': "add unique constraint to series table's name column"
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'set_recurring_type',
'description': "set recurring type as monthly in old"
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'alter_tabsessions',
'description': "alter tabsessions to change user column definition"
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'delete_old_parent_entries',
'description': "delete entries of child table having parent like old_par%% or ''"
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'delete_about_contact',
'description': "delete depracated doctypes of website module"
},
{
'patch_module': 'patches.june_2012',
'patch_file': 'cache_item_table',
'description': "create cache item table again"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'reload_pr_po_mapper',
'description': "order date should be greater than equal to request date"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'address_contact_perms',
'description': "sync address contact perms"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'packing_list_cleanup_and_serial_no',
'description': "packing list cleanup and serial no status update"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'deprecate_import_data_control',
'description': "deprecate doctype - Import Data Control and page - Import Data"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'default_freeze_account',
'description': "set default freeze_account as 'No' where NULL"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'update_purchase_tax',
'description': "rename options in purchase taxes and charges"
},
{ 'patch_module': 'patches.june_2012',
'patch_file': 'cms2',
'description': 'cms2 release patches'
},
{ 'patch_module': 'patches.july_2012',
'patch_file': 'auth_table',
'description': 'create new __Auth table'
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'remove_event_role_owner_match',
'description': "Remove Owner match from Event DocType's Permissions"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'deprecate_bulk_rename',
'description': "Remove Bulk Rename Tool"
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'blog_guest_permission',
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'bin_permission',
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'project_patch_repeat',
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'repost_stock_due_to_wrong_packing_list',
},
{
'patch_module': 'patches.july_2012',
'patch_file': 'supplier_quotation',
},
{
'patch_module': 'patches.august_2012',
'patch_file': 'report_supplier_quotations',
},
{
'patch_module': 'patches.august_2012',
'patch_file': 'task_allocated_to_assigned',
},
{
'patch_module': 'patches.august_2012',
'patch_file': 'change_profile_permission',
},
{
'patch_module': 'patches.august_2012',
'patch_file': 'changed_blog_date_format',
},
{
'patch_module': 'patches.august_2012',
'patch_file': 'repost_billed_amt',
},
{
'patch_module': 'patches.august_2012',
'patch_file': 'remove_cash_flow_statement',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'stock_report_permissions_for_accounts',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'communication_delete_permission',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'reload_criteria_stock_ledger',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'all_permissions_patch',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'customer_permission_patch',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'add_stock_ledger_entry_index',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'plot_patch',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'event_permission',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'repost_stock',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'reload_gross_profit',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'rebuild_trees',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'deprecate_account_balance',
},
{
'patch_module': 'patches.september_2012',
'patch_file': 'profile_delete_permission',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'update_permission',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'reload_gl_mapper',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'fix_wrong_vouchers',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'remove_old_customer_contact_address',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'company_fiscal_year_docstatus_patch',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'update_account_property',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'remove_old_trial_bal',
},
]