Remove print statements

small bugfixed in wizard `'view_id': board.view_id.id,` for the view id

bzr revid: mga@tinyerp.com-20080725105241-uqe9m7wbtiqqionm
This commit is contained in:
mga@tinyerp.com
2008-07-25 16:22:41 +05:30
parent 7b21d44b03
commit 2da5ec0e5f
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -72,7 +72,6 @@ class board_board(osv.osv):
view = {
'arch': self.create_view(cr, uid, ids[0], context),
}
print board
self.pool.get('ir.ui.view').write(cr, uid, [board['view_id'][0]], view)
return result
+1 -1
View File
@@ -54,7 +54,7 @@ def board_menu_create(self, cr, uid, data, context):
'view_type':'form',
'view_mode':'form',
'res_model': 'board.board',
'view_id': board.view_id,
'view_id': board.view_id.id,
})
pool.get('ir.ui.menu').create(cr, uid, {
'name': data['form']['menu_name'],