We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
f you delete all the rows in the time sheets table in a saved timesheet, the automatic timer breaks.
The problem comes from here: (timer.js line:71)
frm.doc.time_logs.length <= 1 will be true when frm.doc.time_logs.length is 0 but frm.doc.time_logs[0] is undefined when frm.doc.time_logs.length
frm.doc.time_logs.length <= 1
frm.doc.time_logs.length
frm.doc.time_logs[0]
undefined
projects
erpnext 14.x.x-develop frappe 15.0.0-dev
manual install
`Uncaught TypeError: frm.doc.time_logs[0] is undefined`
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Information about bug
f you delete all the rows in the time sheets table in a saved timesheet, the automatic timer breaks.
Peek.2023-04-24.09-07.mp4
The problem comes from here:
(timer.js line:71)
frm.doc.time_logs.length <= 1
will be true whenfrm.doc.time_logs.length
is 0 butfrm.doc.time_logs[0]
isundefined
whenfrm.doc.time_logs.length
Module
projects
Version
erpnext 14.x.x-develop
frappe 15.0.0-dev
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
`Uncaught TypeError: frm.doc.time_logs[0] is undefined`
The text was updated successfully, but these errors were encountered: