i
authorNajlaa <nel@silver>
Fri, 5 Sep 2008 07:13:51 +0000 (09:13 +0200)
committerNajlaa <nel@silver>
Fri, 5 Sep 2008 07:13:51 +0000 (09:13 +0200)
bzr revid: nel@silver-20080905071351-586wo5f0qx31bfl1

addons/sale/report/shipping.py [new file with mode: 0644]

diff --git a/addons/sale/report/shipping.py b/addons/sale/report/shipping.py
new file mode 100644 (file)
index 0000000..55949fd
--- /dev/null
@@ -0,0 +1,21 @@
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+##############################################################################
+
+import time
+from report import report_sxw
+from osv import osv
+import pooler
+
+class shipping(report_sxw.rml_parse):
+    def __init__(self, cr, uid, name, context):
+        super(shipping, self).__init__(cr, uid, name, context)
+        self.localcontext.update({
+            'time': time,
+        })
+
+report_sxw.report_sxw('report.sale.shipping','stock.picking','addons/sale/report/shipping.rml',parser=shipping)