Skip to content

Commit

Permalink
fix: Show timesheet table after fetching data from timesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
nabinhait committed Jan 10, 2024
1 parent 4666252 commit e1ba587
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 e1ba587

Please sign in to comment.