Use id instead of BrowseRecord in context

issue2415
This commit is contained in:
Cédric Krier committed 2012-01-23 12:48:07 +01:00
1 parent 0c9e44487e
commit 590f7de673
1 file changed
+1 -1
+1 -1
View File
@@ -1066,7 +1066,7 @@ class OpenChartAccount(Wizard):
def do_open_(self, session, action):
action['pyson_context'] = PYSONEncoder().encode({
'fiscalyear': session.start.fiscalyear,
'fiscalyear': session.start.fiscalyear.id,
'posted': session.start.posted,
})
return action, {}