mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
fix: remove tab in code
This commit is contained in:
@@ -15,7 +15,7 @@ class Vehicle(Document):
|
|||||||
if getdate(self.carbon_check_date) > getdate():
|
if getdate(self.carbon_check_date) > getdate():
|
||||||
frappe.throw(_("Last carbon check date cannot be a future date"))
|
frappe.throw(_("Last carbon check date cannot be a future date"))
|
||||||
|
|
||||||
def get_timeline_data(doctype, name):
|
def get_timeline_data(doctype, name):
|
||||||
'''Return timeline for vehicle log'''
|
'''Return timeline for vehicle log'''
|
||||||
return dict(frappe.db.sql('''select unix_timestamp(date), count(*)
|
return dict(frappe.db.sql('''select unix_timestamp(date), count(*)
|
||||||
from `tabVehicle Log` where license_plate=%s
|
from `tabVehicle Log` where license_plate=%s
|
||||||
|
|||||||
Reference in New Issue
Block a user