Skip to content

Commit

Permalink
fix(pur reco): ensure that latest purchae period is selected onload
Browse files Browse the repository at this point in the history
(cherry picked from commit 4123ec2)
  • Loading branch information
vorasmit authored and mergify[bot] committed Aug 22, 2024
1 parent aa27db6 commit 9d30730
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ frappe.ui.form.on("Purchase Reconciliation Tool", {
onload(frm) {
if (frm.doc.is_modified) frm.doc.reconciliation_data = null;
add_gstr2b_alert(frm);
set_date_range_description(frm);

frm.trigger("purchase_period");
frm.trigger("inward_supply_period");
},

async company(frm) {
Expand Down

0 comments on commit 9d30730

Please sign in to comment.