[REF] account

bzr revid: mra@mra-laptop-20110112121511-kswewkftnmbmqayf
This commit is contained in:
Mustufa Rangwala 2011-01-12 17:45:11 +05:30
parent eeaba5d416
commit b883865a68
1 changed files with 1 additions and 2 deletions

View File

@ -101,7 +101,6 @@ class account_move_line(osv.osv):
query += ' AND '+obj+'.account_id IN (%s)' % ','.join(map(str, child_ids))
query += company_clause
return query
def _amount_residual(self, cr, uid, ids, field_names, args, context=None):
@ -911,7 +910,7 @@ class account_move_line(osv.osv):
cr.execute('SELECT code FROM account_period WHERE id = %s', (context['period_id'], ))
p = cr.fetchone()[0] or ''
if j or p:
return j+(p and (':'+p) or '')
return j + (p and (':' + p) or '')
return False
def onchange_date(self, cr, user, ids, date, context=None):