[REV] ir_ui_menu: temporarily set needaction_enabled column back to non-stored, to be able to use the branch on internal test database with needaction, without requiring too many hand-made modifications.

bzr revid: tde@openerp.com-20121128094234-ux06ludum7ub59u5
This commit is contained in:
Thibault Delavallée 2012-11-28 10:42:34 +01:00
parent 9b196638cb
commit 0544565a57
1 changed files with 2 additions and 1 deletions

View File

@ -309,7 +309,8 @@ class ir_ui_menu(osv.osv):
'web_icon_data': fields.function(_get_image_icon, string='Web Icon Image', type='binary', readonly=True, store=True, multi='icon'),
'web_icon_hover_data': fields.function(_get_image_icon, string='Web Icon Image (hover)', type='binary', readonly=True, store=True, multi='icon'),
'needaction_enabled': fields.function(_get_needaction_enabled,
type='boolean', store=True,
type='boolean',
# store=True,
string='Target model uses the need action mechanism',
help='If the menu entry action is an act_window action, and if this action is related to a model that uses the need_action mechanism, this field is set to true. Otherwise, it is false.'),
'action': fields.function(_action, fnct_inv=_action_inv,