Skip to content

Commit

Permalink
Merge pull request #1147 from resilient-tech/mergify/bp/version-14/pr…
Browse files Browse the repository at this point in the history
…-1145

fix: remove default period for reco tool (backport #1145)
  • Loading branch information
vorasmit authored Oct 12, 2023
2 parents 4ce9895 + a385fba commit cdc4900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ async function fetch_date_range(frm, field_prefix) {
const from_date_field = field_prefix + "_from_date";
const to_date_field = field_prefix + "_to_date";
const period = frm.doc[field_prefix + "_period"];
if (period == "Custom") return;
if (!period) return;

const { message } = await frm.call("get_date_range", { period });
if (!message) return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"fieldtype": "Column Break"
},
{
"default": "This Fiscal Year",
"fieldname": "purchase_period",
"fieldtype": "Select",
"label": "Purchase Period",
Expand All @@ -69,7 +68,6 @@
"fieldtype": "Column Break"
},
{
"default": "This Fiscal Year",
"fieldname": "inward_supply_period",
"fieldtype": "Select",
"label": "Inward Supply Period",
Expand Down Expand Up @@ -152,7 +150,7 @@
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2023-09-14 12:57:00.756535",
"modified": "2023-10-12 16:20:03.501277",
"modified_by": "Administrator",
"module": "GST India",
"name": "Purchase Reconciliation Tool",
Expand Down

0 comments on commit cdc4900

Please sign in to comment.