Skip to content

Commit

Permalink
fix: Show timesheet table after fetching data from timesheet (backport
Browse files Browse the repository at this point in the history
…#39275) (#39281)

fix: Show timesheet table after fetching data from timesheet

(cherry picked from commit e1ba587)

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
  • Loading branch information
mergify[bot] and nabinhait authored Jan 10, 2024
1 parent fe973a4 commit 2598f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/doctype/sales_invoice/sales_invoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,8 @@ frappe.ui.form.on('Sales Invoice', {
frm.events.append_time_log(frm, timesheet, 1.0);
}
});
frm.refresh_field("timesheets");
frm.trigger("calculate_timesheet_totals");
frm.refresh();
},

async get_exchange_rate(frm, from_currency, to_currency) {
Expand Down

0 comments on commit 2598f8e

Please sign in to comment.