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

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