[FIX] account_voucher: missing '%' in string interpolation
bzr revid: olt@tinyerp.com-20100329144611-jguk94nsoohywsxn
This commit is contained in:
parent
16f184db93
commit
7551d6420b
|
@ -65,7 +65,7 @@ class account_account(osv.osv):
|
|||
def compute_total(self, cr, uid, ids, yr_st_date, yr_end_date, st_date, end_date, field_names, context={}):
|
||||
if not (st_date >= yr_st_date and end_date <= yr_end_date):
|
||||
return {}
|
||||
query = "l.date >= '%s' AND l.date <= '%s'" (st_date, end_date)
|
||||
query = "l.date >= '%s' AND l.date <= '%s'" % (st_date, end_date)
|
||||
return self.__compute(cr, uid, ids, field_names, context=context, query=query)
|
||||
|
||||
def create(self, cr, uid, vals, context={}):
|
||||
|
|
Loading…
Reference in New Issue