mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
Fixed Permissions and Time Log
This commit is contained in:
@@ -13,8 +13,8 @@ class TestTimeLog(unittest.TestCase):
|
||||
|
||||
test_records = [[{
|
||||
"doctype": "Time Log",
|
||||
"from_time": "2013-01-01 10:00:00",
|
||||
"to_time": "2013-01-01 11:00:00",
|
||||
"from_time": "2013-01-01 10:00:00.000000",
|
||||
"to_time": "2013-01-01 11:00:00.000000",
|
||||
"activity_type": "_Test Activity Type",
|
||||
"note": "_Test Note",
|
||||
"docstatus": 1
|
||||
|
||||
@@ -8,8 +8,8 @@ class TimeLogBatchTest(unittest.TestCase):
|
||||
from erpnext.projects.doctype.time_log.test_time_log import test_records as time_log_records
|
||||
time_log = frappe.bean(copy=time_log_records[0])
|
||||
time_log.doc.fields.update({
|
||||
"from_time": "2013-01-02 10:00:00",
|
||||
"to_time": "2013-01-02 11:00:00",
|
||||
"from_time": "2013-01-02 10:00:00.000000",
|
||||
"to_time": "2013-01-02 11:00:00.000000",
|
||||
"docstatus": 0
|
||||
})
|
||||
time_log.insert()
|
||||
|
||||
Reference in New Issue
Block a user