def referral_management(doc, method): if not doc.get('__islocal') and doc.get('__islocal') != None: if doc.referral_name: lead = create_lead(doc) create_account_head(lead) if doc.lead_name: manage_accounts_and_lead(doc)
def referral_management(doc, method): if not doc.get('__islocal') and doc.get('__islocal') != None: if doc.referral_name: lead = create_lead(doc) create_account_head(lead) if doc.lead_name: manage_accounts_and_lead(doc)
def create_acc_payable_head(doc, method): # To create libility account head and which is used to capture the loyality points against the customer # if not doc.get('__islocal') and doc.get('__islocal') != None: create_account_head(doc)
def create_acc_payable_head(doc, method): # To create libility account head and which is used to capture the loyality points against the customer # if not doc.get('__islocal') and doc.get('__islocal') != None: create_account_head(doc)