From fb9b4d258d14e18620093d59bc57a6a2ab07ffe7 Mon Sep 17 00:00:00 2001 From: Tyler Matteson Date: Mon, 18 Mar 2024 15:25:52 -0400 Subject: [PATCH 1/2] fix: add supplier bank field (#219) was removed previously in error --- check_run/check_run/custom/supplier.json | 61 ++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/check_run/check_run/custom/supplier.json b/check_run/check_run/custom/supplier.json index a1041229..81e193ed 100644 --- a/check_run/check_run/custom/supplier.json +++ b/check_run/check_run/custom/supplier.json @@ -61,6 +61,67 @@ "unique": 0, "width": null }, + { + "_assign": null, + "_comments": null, + "_liked_by": null, + "_user_tags": null, + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "creation": "2022-06-30 11:20:02.666689", + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "dt": "Supplier", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "bank", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "idx": 33, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "cb_21", + "label": "Bank", + "length": 0, + "mandatory_depends_on": null, + "modified": "2022-06-30 11:20:02.666689", + "modified_by": "Administrator", + "module": "Check Run", + "name": "Supplier-bank", + "no_copy": 0, + "non_negative": 0, + "options": "Bank", + "owner": "Administrator", + "parent": null, + "parentfield": null, + "parenttype": null, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "translatable": 0, + "unique": 0, + "width": null + }, { "_assign": null, "_comments": null, From 996ad1ea29c38fc7bb6b79bb4cd43710e2d0bb74 Mon Sep 17 00:00:00 2001 From: ViralKansodiya-Fosserp <141210323+viralkansodiya@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:56:16 +0530 Subject: [PATCH 2/2] remove irrelevant code (#217) --- check_run/check_run/doctype/check_run/check_run.js | 1 - 1 file changed, 1 deletion(-) diff --git a/check_run/check_run/doctype/check_run/check_run.js b/check_run/check_run/doctype/check_run/check_run.js index b9d15a6d..d912994b 100644 --- a/check_run/check_run/doctype/check_run/check_run.js +++ b/check_run/check_run/doctype/check_run/check_run.js @@ -200,7 +200,6 @@ function get_defaults(frm) { if (!frm.is_new()) { return } - frm.set_value('start_date', moment().startOf('week').format()) frm.set_value('end_date', moment().endOf('week').format()) }