~chris-ormaza/+junk/medical

« back to all changes in this revision

Viewing changes to medical/report/prescription_order.py

  • Committer: Christopher Ormaza
  • Date: 2011-04-29 02:58:11 UTC
  • Revision ID: chris.ormaza@gmail.com-20110429025811-po7h8pog9pcy3bxc
Inicial Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
import time
 
4
import datetime
 
5
from report import report_sxw
 
6
 
 
7
class prescription_report(report_sxw.rml_parse):
 
8
        _name = 'report.prescription.order'
 
9
        def __init__(self, cr, uid, name, context):
 
10
            super(prescription_report, self).__init__(cr, uid, name, context=context)
 
11
            self.localcontext.update({
 
12
                'time': time,
 
13
            })
 
14
 
 
15
report_sxw.report_sxw('report.prescription.order', 'medical.prescription.order', 'addons/medical/report/prescription_order.rml', parser=prescription_report, header=False )
 
16
 
 
17
 
 
18