diff --git a/erpnext/patches.txt b/erpnext/patches.txt index b0ad014fd9101175098dbb7dca6c3b6586e43521..8ff0719344e21324554213b682b768c50be1b4a3 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -407,3 +407,4 @@ erpnext.patches.v15_0.update_total_number_of_booked_depreciations erpnext.patches.v15_0.update_invoice_remarks erpnext.patches.v15_0.add_disassembly_order_stock_entry_type #1 erpnext.patches.v15_0.set_standard_stock_entry_type +erpnext.patches.v14_0.update_currency_exchange_settings_for_frankfurter diff --git a/erpnext/patches/v14_0/update_currency_exchange_settings_for_frankfurter.py b/erpnext/patches/v14_0/update_currency_exchange_settings_for_frankfurter.py new file mode 100644 index 0000000000000000000000000000000000000000..a67c5a2623776777772e466a07a23ba9fac48588 --- /dev/null +++ b/erpnext/patches/v14_0/update_currency_exchange_settings_for_frankfurter.py @@ -0,0 +1,11 @@ +import frappe + + +def execute(): + settings = frappe.get_doc("Currency Exchange Settings") + if settings.service_provider != "frankfurter.app": + return + + settings.set_parameters_and_result() + settings.flags.ignore_validate = True + settings.save()