[FIX]account:in cash register if we put or take money its generate traceback

bzr revid: pna@tinyerp.com-20130215051334-rv7jppnn4q3fzkal
This commit is contained in:
Pinakin Nayi (OpenERP)
2013-02-15 10:43:34 +05:30
parent 7c89909ac4
commit 314ffef1be
+1 -1
View File
@@ -23,7 +23,7 @@ class CashBox(osv.osv_memory):
records = self.pool.get(active_model).browse(cr, uid, active_ids, context=context)
return self._run(cr, uid, ids, records, context=None)
return self._run(cr, uid, ids, records, context=context)
def _run(self, cr, uid, ids, records, context=None):
for box in self.browse(cr, uid, ids, context=context):