Merge pull request #39275 from nabinhait/fetch-timesheet-in-invoice

fix: Show timesheet table after fetching data from timesheet
This commit is contained in:
Nabin Hait 2024-01-10 11:33:51 +05:30 committed by GitHub
commit 2ef0596df2
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) {