* Remove Company from Patient - Patches Added * Update patient DOB field label to Date of birth * Patient marital status default null * Update patient.py
6 lines
151 B
Python
6 lines
151 B
Python
import frappe
|
|
|
|
def execute():
|
|
if 'company' in frappe.db.get_table_columns("Patient"):
|
|
frappe.db.sql("alter table `tabPatient` drop column company")
|