diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 74171f585ea2f5581b29f75ca4f3eed718078b3b..c1469e84c251c3b0cca6fb2d5b9cef8b9e8f3451 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -81,6 +81,9 @@ jinja = { "methods": [ "erpnext.stock.serial_batch_bundle.get_serial_or_batch_nos", ], + "filters": [ + "frappe.contacts.doctype.address.address.get_condensed_address", + ], } webform_list_context = "erpnext.controllers.website_list_for_contact.get_webform_list_context" @@ -721,10 +724,4 @@ default_log_clearing_doctypes = { "Repost Item Valuation": 60, } -jinja = { - "filters": [ - "frappe.contacts.doctype.address.address.get_condensed_address", - ], -} - export_python_type_annotations = True diff --git a/erpnext/templates/includes/rfq.js b/erpnext/templates/includes/rfq.js index c4f17117baa1d98efb79857acffbc32aa520622f..0bca38708634d785ec60f83a49b37e7c89e30177 100644 --- a/erpnext/templates/includes/rfq.js +++ b/erpnext/templates/includes/rfq.js @@ -73,7 +73,6 @@ rfq = class rfq { submit_rfq(){ $('.btn-sm').click(function(){ - debugger frappe.freeze(); frappe.call({ type: "POST", @@ -83,7 +82,6 @@ rfq = class rfq { }, btn: this, callback: function(r){ - debugger frappe.unfreeze(); if(r.message){ $('.btn-sm').hide()