Use id instead of BrowseRecord in context
issue2415
This commit is contained in:
1 parent
0c9e44487e
commit
590f7de673
1 file changed
+1
-1
+1
-1
@@ -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, {}
|
||||
|
||||
Reference in new issue
Block a user