diff --git a/india_compliance/gst_india/client_scripts/stock_entry.js b/india_compliance/gst_india/client_scripts/stock_entry.js index 5c64619f0..5e6771227 100644 --- a/india_compliance/gst_india/client_scripts/stock_entry.js +++ b/india_compliance/gst_india/client_scripts/stock_entry.js @@ -50,7 +50,14 @@ frappe.ui.form.on(DOCTYPE, { ); }, - refresh() { + refresh(frm) { + frm.get_field("bill_to_address_display") + .$wrapper.find(".ql-editor") + .css("white-space", "normal"); + frm.get_field("bill_from_address_display") + .$wrapper.find(".ql-editor") + .css("white-space", "normal"); + if (!gst_settings.enable_e_waybill || !gst_settings.enable_e_waybill_for_sc) return; diff --git a/india_compliance/hooks.py b/india_compliance/hooks.py index df203193c..8868d3427 100644 --- a/india_compliance/hooks.py +++ b/india_compliance/hooks.py @@ -27,8 +27,6 @@ setup_wizard_stages = "india_compliance.setup_wizard.get_setup_wizard_stages" app_include_js = "india_compliance.bundle.js" -app_include_css = "india_compliance.bundle.css" - doctype_js = { "Address": "gst_india/client_scripts/address.js", diff --git a/india_compliance/public/scss/india_compliance.bundle.scss b/india_compliance/public/scss/india_compliance.bundle.scss deleted file mode 100644 index 01ac00e98..000000000 --- a/india_compliance/public/scss/india_compliance.bundle.scss +++ /dev/null @@ -1,3 +0,0 @@ -.ql-editor { - white-space: normal; -} \ No newline at end of file