Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/o/p/openerp70-addons-HEAD/project_scrum/report/task_burndown.py   openerp70-addons(Download)
                datas['date_stop'] = res[1][:10]
 
        datas = _burndown.compute_burndown(cr, uid, ids, datas['date_start'], datas['date_stop'])
        canv = canvas.init(fname=io, format='pdf')
        canv.set_author("OpenERP")

src/o/p/openerp70-addons-HEAD/project_scrum/report/sprint_burndown.py   openerp70-addons(Download)
        for sprint in sprint_pool.browse(cr, uid, ids, context=context):
            task_ids = task_pool.search(cr, uid, [('sprint_id','=',sprint.id)], context=context)
            datas = _burndown.compute_burndown(cr, uid, task_ids, sprint.date_start, sprint.date_stop)
            max_hour = reduce(lambda x,y: max(y[1],x), datas, 0)
            def _interval_get(*args):

src/o/p/openerp-server-5.0.0-3/bin/addons/scrum/report/task_burndown.py   openerp-server(Download)
        int_to_date = lambda x: '/a60{}'+DateTime.localtime(x).strftime('%d/%m/%Y')
 
        datas = _burndown.compute_burndown(cr, uid, ids, datas['date_start'], datas['date_stop'])
 
        canv = canvas.init(fname=io, format='pdf')

src/o/p/openerp-server-5.0.0-3/bin/addons/scrum/report/sprint_burndown.py   openerp-server(Download)
 
            ids = map(lambda x: x[0], cr.fetchall())
            datas = _burndown.compute_burndown(cr, uid, ids, date_start, date_stop)
 
            max_hour = reduce(lambda x,y: max(y[1],x), datas, 0)