Subversion Repositories SmartDukaan

Rev

Rev 4897 | Rev 4934 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4897 Rev 4930
Line 1617... Line 1617...
1617
    session.commit()
1617
    session.commit()
1618
    return True
1618
    return True
1619
 
1619
 
1620
def __send_mail_for_oos_item(item): 
1620
def __send_mail_for_oos_item(item): 
1621
    try:
1621
    try:
1622
        EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['abhishek.mathur@shop2020.in', 'chaitnaya.vats@shop2020.in'], "Item is out of stock. ID: " + str(item.id)  + " " + str(item.brand) +  " " + str(item.model_name) + " " + str(item.model_number), None)
1622
        EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['abhishek.mathur@shop2020.in', 'chaitnaya.vats@shop2020.in'], "Item is out of stock. ID: " + str(item.id)  + " " + str(item.brand) +  " " + str(item.model_name) + " " + str(item.model_number)+ " " + str(item.color), None)
1623
    except Exception as e:
1623
    except Exception as e:
1624
        print e
1624
        print e