Skip to content

Commit

Permalink
feat: removed assets patches from erpnext
Browse files Browse the repository at this point in the history
  • Loading branch information
tohidmalik002 committed Oct 19, 2024
1 parent 913bf11 commit 5a032c0
Show file tree
Hide file tree
Showing 28 changed files with 2 additions and 716 deletions.
22 changes: 0 additions & 22 deletions erpnext/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ erpnext.patches.v10_0.update_translatable_fields
execute:frappe.delete_doc('DocType', 'Production Planning Tool', ignore_missing=True)
erpnext.patches.v11_0.rename_duplicate_item_code_values
erpnext.patches.v11_0.make_quality_inspection_template
erpnext.patches.v11_0.merge_land_unit_with_location
erpnext.patches.v11_0.add_index_on_nestedset_doctypes
erpnext.patches.v11_0.remove_modules_setup_page
erpnext.patches.v11_0.update_department_lft_rgt
Expand All @@ -29,8 +28,6 @@ erpnext.patches.v11_0.update_brand_in_item_price
erpnext.patches.v11_0.create_default_success_action
erpnext.patches.v11_0.rebuild_tree_for_company
erpnext.patches.v11_0.create_department_records_for_each_company
erpnext.patches.v11_0.make_location_from_warehouse
erpnext.patches.v11_0.make_asset_finance_book_against_old_entries
erpnext.patches.v11_0.check_buying_selling_in_currency_exchange
erpnext.patches.v11_0.move_item_defaults_to_child_table_for_multicompany #02-07-2018 #19-06-2019
erpnext.patches.v11_0.rename_overproduction_percent_field
Expand All @@ -39,7 +36,6 @@ erpnext.patches.v11_0.rename_members_with_naming_series #04-06-2018
erpnext.patches.v11_0.set_update_field_and_value_in_workflow_state
erpnext.patches.v11_0.update_total_qty_field
erpnext.patches.v11_0.update_sales_partner_type
erpnext.patches.v11_0.rename_asset_adjustment_doctype
erpnext.patches.v11_0.set_user_permissions_for_department
erpnext.patches.v11_0.hr_ux_cleanups
erpnext.patches.v11_0.set_department_for_doctypes
Expand Down Expand Up @@ -110,7 +106,6 @@ erpnext.patches.v12_0.add_variant_of_in_item_attribute_table
erpnext.patches.v12_0.rename_bank_account_field_in_journal_entry_account
erpnext.patches.v12_0.create_default_energy_point_rules
erpnext.patches.v12_0.set_produced_qty_field_in_sales_order_for_work_order
erpnext.patches.v12_0.set_cwip_and_delete_asset_settings
erpnext.patches.v12_0.set_expense_account_in_landed_cost_voucher_taxes
erpnext.patches.v12_0.replace_accounting_with_accounts_in_home_settings
erpnext.patches.v12_0.set_automatically_process_deferred_accounting_in_accounts_settings
Expand Down Expand Up @@ -244,14 +239,12 @@ erpnext.patches.v14_0.migrate_crm_settings
erpnext.patches.v13_0.wipe_serial_no_field_for_0_qty
erpnext.patches.v13_0.agriculture_deprecation_warning
erpnext.patches.v13_0.hospitality_deprecation_warning
erpnext.patches.v13_0.update_asset_quantity_field
erpnext.patches.v13_0.delete_bank_reconciliation_detail
erpnext.patches.v13_0.enable_provisional_accounting
erpnext.patches.v13_0.non_profit_deprecation_warning
erpnext.patches.v13_0.show_india_localisation_deprecation_warning
erpnext.patches.v13_0.show_hr_payroll_deprecation_warning
erpnext.patches.v13_0.reset_corrupt_defaults
erpnext.patches.v13_0.create_accounting_dimensions_for_asset_repair
erpnext.patches.v15_0.delete_taxjar_doctypes
erpnext.patches.v15_0.delete_ecommerce_doctypes
erpnext.patches.v14_0.update_reference_due_date_in_journal_entry
Expand Down Expand Up @@ -296,22 +289,18 @@ erpnext.patches.v14_0.copy_is_subcontracted_value_to_is_old_subcontracting_flow
erpnext.patches.v14_0.crm_ux_cleanup
erpnext.patches.v14_0.migrate_existing_lead_notes_as_per_the_new_format
erpnext.patches.v14_0.remove_india_localisation # 14-07-2022
erpnext.patches.v13_0.fix_number_and_frequency_for_monthly_depreciation
erpnext.patches.v14_0.remove_hr_and_payroll_modules # 20-07-2022
erpnext.patches.v14_0.fix_crm_no_of_employees
erpnext.patches.v14_0.create_accounting_dimensions_in_subcontracting_doctypes
erpnext.patches.v14_0.fix_subcontracting_receipt_gl_entries
erpnext.patches.v13_0.drop_unused_sle_index_parts
erpnext.patches.v14_0.create_accounting_dimensions_for_asset_capitalization
erpnext.patches.v14_0.update_partial_tds_fields
erpnext.patches.v14_0.create_incoterms_and_migrate_shipment
erpnext.patches.v14_0.create_accounting_dimensions_for_payment_request
erpnext.patches.v14_0.update_entry_type_for_journal_entry
erpnext.patches.v14_0.change_autoname_for_tax_withheld_vouchers
erpnext.patches.v14_0.set_pick_list_status
erpnext.patches.v13_0.update_docs_link
erpnext.patches.v15_0.update_asset_value_for_manual_depr_entries
erpnext.patches.v15_0.update_gpa_and_ndb_for_assdeprsch
erpnext.patches.v14_0.create_accounting_dimensions_for_closing_balance
erpnext.patches.v14_0.update_closing_balances #14-07-2023
execute:frappe.db.set_single_value("Accounts Settings", "merge_similar_account_heads", 0)
Expand All @@ -334,7 +323,6 @@ execute:frappe.defaults.clear_default("fiscal_year")
erpnext.patches.v15_0.remove_exotel_integration
erpnext.patches.v14_0.single_to_multi_dunning
execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for_items', 0)
erpnext.patches.v15_0.correct_asset_value_if_je_with_workflow
erpnext.patches.v15_0.delete_woocommerce_settings_doctype
erpnext.patches.v14_0.migrate_deferred_accounts_to_item_defaults
erpnext.patches.v14_0.update_invoicing_period_in_subscription
Expand All @@ -345,13 +333,9 @@ erpnext.patches.v15_0.update_sre_from_voucher_details
erpnext.patches.v14_0.rename_over_order_allowance_field
erpnext.patches.v14_0.migrate_delivery_stop_lock_field
erpnext.patches.v14_0.add_default_for_repost_settings
erpnext.patches.v15_0.rename_daily_depreciation_to_depreciation_amount_based_on_num_days_in_month
erpnext.patches.v15_0.rename_depreciation_amount_based_on_num_days_in_month_to_daily_prorata_based
erpnext.patches.v15_0.set_reserved_stock_in_bin
erpnext.patches.v14_0.create_accounting_dimensions_in_supplier_quotation
erpnext.patches.v14_0.update_zero_asset_quantity_field
execute:frappe.db.set_single_value("Buying Settings", "project_update_frequency", "Each Transaction")
erpnext.patches.v14_0.update_total_asset_cost_field
erpnext.patches.v14_0.create_accounting_dimensions_in_reconciliation_tool
erpnext.patches.v15_0.allow_on_submit_dimensions_for_repostable_doctypes
erpnext.patches.v14_0.update_flag_for_return_invoices #2024-03-22
Expand All @@ -361,14 +345,8 @@ erpnext.patches.v14_0.update_pos_return_ledger_entries #2024-08-16
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
erpnext.stock.doctype.delivery_note.patches.drop_unused_return_against_index # 2023-12-20
erpnext.patches.v14_0.set_maintain_stock_for_bom_item
erpnext.patches.v15_0.delete_orphaned_asset_movement_item_records
erpnext.patches.v15_0.fix_debit_credit_in_transaction_currency
erpnext.patches.v15_0.rename_purchase_receipt_amount_to_purchase_amount
erpnext.patches.v14_0.enable_set_priority_for_pricing_rules #1
erpnext.patches.v15_0.rename_number_of_depreciations_booked_to_opening_booked_depreciations
erpnext.patches.v15_0.update_warehouse_field_in_asset_repair_consumed_item_doctype
erpnext.patches.v15_0.update_asset_repair_field_in_stock_entry
erpnext.patches.v15_0.update_total_number_of_booked_depreciations
erpnext.patches.v15_0.do_not_use_batchwise_valuation
erpnext.patches.v15_0.drop_index_posting_datetime_from_sle
erpnext.patches.v15_0.add_disassembly_order_stock_entry_type #1
Expand Down
2 changes: 0 additions & 2 deletions erpnext/patches/v11_0/add_index_on_nestedset_doctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@


def execute():
frappe.reload_doc("assets", "doctype", "Location")
for dt in (
"Account",
"Cost Center",
"File",
"Employee",
"Location",
"Task",
"Customer Group",
"Sales Person",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def execute():
comp_dict[company.name][department.name] = copy_doc.name

rebuild_tree("Department", "parent_department")
doctypes = ["Asset", "Employee", "Payroll Entry", "Staffing Plan", "Job Opening"]
doctypes = ["Employee", "Payroll Entry", "Staffing Plan", "Job Opening"]

for d in doctypes:
update_records(d, comp_dict)
Expand Down

This file was deleted.

34 changes: 0 additions & 34 deletions erpnext/patches/v11_0/make_location_from_warehouse.py

This file was deleted.

62 changes: 0 additions & 62 deletions erpnext/patches/v11_0/merge_land_unit_with_location.py

This file was deleted.

1 change: 0 additions & 1 deletion erpnext/patches/v11_0/refactor_autoname_naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"Agriculture Task": "AG-TASK-.#####",
"Assessment Plan": "EDU-ASP-.YYYY.-.#####",
"Assessment Result": "EDU-RES-.YYYY.-.#####",
"Asset Movement": "ACC-ASM-.YYYY.-.#####",
"Attendance Request": "HR-ARQ-.YY.-.MM.-.#####",
"Authorization Rule": "HR-ARU-.#####",
"Bank Guarantee": "ACC-BG-.YYYY.-.#####",
Expand Down
1 change: 0 additions & 1 deletion erpnext/patches/v11_0/refactor_naming_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
doctype_series_map = {
"Additional Salary": "HR-ADS-.YY.-.MM.-",
"Appraisal": "HR-APR-.YY.-.MM.",
"Asset": "ACC-ASS-.YYYY.-",
"Attendance": "HR-ATT-.YYYY.-",
"Auto Repeat": "SYS-ARP-.YYYY.-",
"Blanket Order": "MFG-BLR-.YYYY.-",
Expand Down
11 changes: 0 additions & 11 deletions erpnext/patches/v11_0/rename_asset_adjustment_doctype.py

This file was deleted.

16 changes: 0 additions & 16 deletions erpnext/patches/v12_0/set_cwip_and_delete_asset_settings.py

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions erpnext/patches/v13_0/update_asset_quantity_field.py

This file was deleted.

Loading

0 comments on commit 5a032c0

Please sign in to comment.