Subversion Repositories SmartDukaan

Rev

Rev 23277 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23277 Rev 23839
Line 516... Line 516...
516
            if errorsMap.has_key(lineitem.get('itemId')):
516
            if errorsMap.has_key(lineitem.get('itemId')):
517
                error = errorsMap.get(lineitem.get('itemId'))
517
                error = errorsMap.get(lineitem.get('itemId'))
518
            worksheet.write(row, inc(), error)
518
            worksheet.write(row, inc(), error)
519
    wb.save(XLS_O_FILENAME)
519
    wb.save(XLS_O_FILENAME)
520
    
520
    
521
    sendmail(["amit.gupta@shop2020.in", "ritesh.chauhan@shop2020.in", "rahul.kandpal@profitmandi.com"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
521
    sendmail(["amit.gupta@shop2020.in", "ritesh.chauhan@shop2020.in", "rahul.kandpal@smartdukaan.com"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
522
    #sendmail(["manish.sharma@shop2020.in"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
522
    #sendmail(["manish.sharma@shop2020.in"], "", "All Pending Purchase Orders", XLS_O_FILENAME)
523
 
523
 
524
if __name__ == '__main__':
524
if __name__ == '__main__':
525
    main()
525
    main()