@ -346,7 +346,7 @@ def old_variant(LSD, language):
@frappe.whitelist(methods=['POST'])
def variant(LSD, language):
def variant(LSD, language,iid = None):
date_format = "%Y-%m-%d %H:%M:%S.%f"
if LSD != "":
try: