mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
(cherry picked from commit 261f80c5ca)
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
This commit is contained in:
@@ -37,7 +37,7 @@ frappe.ui.form.on("Timesheet", {
|
||||
calculate_time_and_amount(frm);
|
||||
}
|
||||
|
||||
if (frm.is_new()) {
|
||||
if (frm.is_new() && !frm.doc.employee) {
|
||||
set_employee_and_company(frm);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user