Home OneHash CRM Customize Lock Time Sheets Based on Date

Lock Time Sheets Based on Date

By Frappe Content licensed CC-BY-SA 3.0 • Last updated on Jun 18, 2025

Lock Time Sheets Based on Date

Let's say you would like all employees to fill time sheets by Friday of every week. And allow only those users having 'Projects Manager' role to edit or add time sheets for days prior to the latest Friday. Below custom script will implement this feature.