[IMP] point_of_sale:-removed unused imported files and corrected warning

bzr revid: mtr@mtr-20101026102400-j8pocgfwpmce2cbt
This commit is contained in:
mtr
2010-10-26 15:54:00 +05:30
parent 6514ed5aae
commit 623dfd17d5
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ class pos_order(osv.osv):
"""
if not len(ids):
return False
self.write(cr, uid, ids, {'state': 'draft'}, context=context)
self.write(cr, uid, ids, {'state': 'draft'})
wf_service = netsvc.LocalService("workflow")
for i in ids:
wf_service.trg_create(uid, 'pos.order', i, cr)
@@ -19,11 +19,7 @@
#
##############################################################################
import time
import netsvc
from osv import osv, fields
from tools.translate import _
from osv import osv
class all_closed_cashbox_of_the_day(osv.osv_memory):
_name = 'all.closed.cashbox.of.the.day'
@@ -49,4 +45,4 @@ class all_closed_cashbox_of_the_day(osv.osv_memory):
all_closed_cashbox_of_the_day()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: