From f38b15a79c371c4541f6776f84efc5f31aa76aae Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Mon, 22 Mar 2010 11:31:06 +0530 Subject: [PATCH] [REM] point_of_sale: remove the old wizard of pos_detail bzr revid: sbh@tinyerp.com-20100322060106-7e9cewt0pdl9swsi --- .../wizard/wizard_pos_details.py | 67 ------------------- 1 file changed, 67 deletions(-) delete mode 100644 addons/point_of_sale/wizard/wizard_pos_details.py diff --git a/addons/point_of_sale/wizard/wizard_pos_details.py b/addons/point_of_sale/wizard/wizard_pos_details.py deleted file mode 100644 index 80a0593c08e..00000000000 --- a/addons/point_of_sale/wizard/wizard_pos_details.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2008 Tiny SPRL (). 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 . -# -############################################################################## - -from osv import fields -from osv import osv -import time -import ir -from mx import DateTime -import datetime -import pooler -from tools import config -import wizard -import netsvc - - -pos_details_res_form= """ -
- - - -""" - -pos_details_res_field= { - 'date_start': {'string':'Start Date','type':'date','required': True,'default': lambda *a: time.strftime('%Y-%m-%d')}, - 'date_end': {'string':'End Date','type':'date','required': True,'default': lambda *a: time.strftime('%Y-%m-%d')}, - - -} - - -class wizard_pos_details(wizard.interface): - - states = { - 'init' : { - 'actions' : [], - 'result' : {'type' : 'form', - 'arch' : pos_details_res_form, - 'fields' : pos_details_res_field, - 'state' : [('end', 'Cancel','gtk-cancel'),('print_report', 'Print Report','gtk-print') ]} - }, - 'print_report' : { - 'actions' : [], - 'result' : {'type' : 'print', - 'report':'pos.details', - 'state' : 'end'} - }, - } -wizard_pos_details('pos.details')