bugfix
lp bug: https://launchpad.net/bugs/314649 fixed bzr revid: hda@tinyerp.com-20090107124942-hfkwl249gqs993ig
This commit is contained in:
@@ -163,7 +163,7 @@ def _data_save(self, cr, uid, data, context):
|
||||
'WHERE fiscalyear_id = %s', ('done',fy_id))
|
||||
cr.execute('UPDATE account_fiscalyear ' \
|
||||
'SET state = %s, end_journal_period_id = %s' \
|
||||
'WHERE id = %s', ('done',start_jp,fy_id))
|
||||
'WHERE id = %s', ('done',start_jp.id,fy_id))
|
||||
return {}
|
||||
|
||||
class wiz_journal_close(wizard.interface):
|
||||
|
||||
@@ -57,7 +57,7 @@ def _action_line_create(self, cr, uid, data, context):
|
||||
if res2:
|
||||
res.update(res2['value'])
|
||||
if hasattr(ts, 'on_change_account_id'):
|
||||
res2 = ts.on_change_account_id(cr, uid, False, aa.id)
|
||||
res2 = ts.on_change_account_id(cr, uid, False, uid, aa.id, context)
|
||||
if res2:
|
||||
res.update(res2['value'])
|
||||
id = ts.create(cr, uid, res, context)
|
||||
|
||||
Reference in New Issue
Block a user