mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
fix: Replaced spaces with tabs
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
company = frappe.get_all('Company', filters = {'country': 'India'})
|
company = frappe.get_all('Company', filters = {'country': 'India'})
|
||||||
if not company:
|
if not company:
|
||||||
return
|
return
|
||||||
|
|
||||||
if frappe.db.exists('Custom Field', { 'fieldname': 'vehicle_no' }):
|
if frappe.db.exists('Custom Field', { 'fieldname': 'vehicle_no' }):
|
||||||
frappe.db.set_value('Custom Field', { 'fieldname': 'vehicle_no' }, 'mandatory_depends_on', '')
|
frappe.db.set_value('Custom Field', { 'fieldname': 'vehicle_no' }, 'mandatory_depends_on', '')
|
||||||
|
|||||||
Reference in New Issue
Block a user