[IMP] point_of_sale:-removed unused imported files and corrected warning
bzr revid: mtr@mtr-20101026102400-j8pocgfwpmce2cbt
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user