fix: Show timesheet table after fetching data from timesheet (backport #39275) (#39281)

fix: Show timesheet table after fetching data from timesheet

(cherry picked from commit e1ba5878a3c61d44006dbc5f1f269e6a2542583c)

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
mergify[bot] 2024-01-10 12:33:24 +05:30 committed by GitHub
parent fe973a4b53
commit 2598f8e7ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {