'delete other property setters on this, if this is new'

def delete_property_setter(self):

    if self.get(u'__islocal'):
        frappe.db.sql(u"delete    from    `tabProperty    Setter`    where\n DCTB  DCTB  DCTB  DCTB doctype_or_field    =    %(doctype_or_field)s\n DCTB  DCTB  DCTB  DCTB and    doc_type    =    %(doc_type)s\n DCTB  DCTB  DCTB  DCTB and    ifnull(field_name,'')    =    ifnull(%(field_name)s,    '')\n DCTB  DCTB  DCTB  DCTB and    property    =    %(property)s", self.get_valid_dict())
