Subversion Repositories SmartDukaan

Rev

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

Rev 20169 Rev 20172
Line 512... Line 512...
512
            if errorsMap.has_key(lineitem.get('itemId')):
512
            if errorsMap.has_key(lineitem.get('itemId')):
513
                error = errorsMap.get(lineitem.get('itemId'))
513
                error = errorsMap.get(lineitem.get('itemId'))
514
            worksheet.write(row, inc(), error)
514
            worksheet.write(row, inc(), error)
515
    wb.save(XLS_O_FILENAME)
515
    wb.save(XLS_O_FILENAME)
516
    
516
    
517
    sendmail(["amit.gupta@shop2020.in", "rajneesh.arora@saholic.com", "chaitnaya.vats@saholic.com", "ritesh.chauhan@shop2020.in", "muvin.khan@shop2020.in"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
517
    sendmail(["amit.gupta@shop2020.in", "rajneesh.arora@saholic.com", "chaitnaya.vats@saholic.com", "ritesh.chauhan@shop2020.in", "muvin.khan@shop2020.in", "khushal.bhatia@saholic.com"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
518
    #sendmail(["manish.sharma@shop2020.in"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
518
    #sendmail(["manish.sharma@shop2020.in"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
519
 
519
 
520
if __name__ == '__main__':
520
if __name__ == '__main__':
521
    main()
521
    main()