Anupam
4 years ago
1 changed files with 7 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||
from __future__ import unicode_literals |
|||
import frappe |
|||
from frappe.model.utils.rename_field import rename_field |
|||
|
|||
def execute(): |
|||
if "billable" in frappe.db.get_table_columns("Timesheet Detail"): |
|||
rename_field("Timesheet Detail", "billable", "is_billable") |
Loading…
Reference in new issue