diff options
| author | apa-tiny <patelamit2003@gmail.com> | 2008-12-24 12:13:39 +0530 |
|---|---|---|
| committer | apa-tiny <patelamit2003@gmail.com> | 2008-12-24 12:13:39 +0530 |
| commit | 7dbde98cc6fa77aed11170ebe4f72a347832aed3 (patch) | |
| tree | bfc744e8f16e156eb642f0c4fd816d8580569dd2 | |
| parent | 0589e6e2855c075678e1e8715b1c085bc9b9f92f (diff) | |
Add payment_order.py for Payment order report-vir
bzr revid: patelamit2003@gmail.com-20081224064339-djlcd233355v437u
| -rw-r--r-- | addons/account_payment/report/__init__.py | 23 | ||||
| -rw-r--r-- | addons/account_payment/report/payment_order.py | 34 |
2 files changed, 57 insertions, 0 deletions
diff --git a/addons/account_payment/report/__init__.py b/addons/account_payment/report/__init__.py new file mode 100644 index 00000000000..a9cc99d8279 --- /dev/null +++ b/addons/account_payment/report/__init__.py @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################## + +import payment_order diff --git a/addons/account_payment/report/payment_order.py b/addons/account_payment/report/payment_order.py new file mode 100644 index 00000000000..f3e9b612d62 --- /dev/null +++ b/addons/account_payment/report/payment_order.py @@ -0,0 +1,34 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################## + +import time +import datetime +from report import report_sxw + +class payment_order(report_sxw.rml_parse): + def __init__(self, cr, uid, name, context): + super(payment_order, self).__init__(cr, uid, name, context) + self.localcontext.update( { + 'time': time, + + }) +report_sxw.report_sxw('report.payment.order', 'payement.order', 'addons/account_payment/report/payment_order.rml', parser=payment_order,header=False)
\ No newline at end of file |
