[IMP] ir.values: slightly more info in key2 help string

bzr revid: odo@openerp.com-20110722144606-sw9n1oiuirnm26t0
This commit is contained in:
Olivier Dony 2011-07-22 16:46:06 +02:00
parent de7a083fa7
commit 3cdd68e392
2 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<group col="2" colspan="2">
<separator string="Values for Event Type" colspan="2"/>
<label string="client_action_multi, client_action_relate" colspan="2"/>
<label string="tree_but_action, client_print_multi" colspan="2"/>
<label string="tree_but_open, client_print_multi" colspan="2"/>
</group>
<group col="2" colspan="2">
<separator colspan="2" string="Value"/>

View File

@ -79,7 +79,10 @@ class ir_values(osv.osv):
method=True, type='text', string='Value'),
'object': fields.boolean('Is Object'),
'key': fields.selection([('action','Action'),('default','Default')], 'Type', size=128, select=True),
'key2' : fields.char('Event Type',help="The kind of action or button in the client side that will trigger the action.", size=128, select=True),
'key2' : fields.char('Event Type', size=128, select=True, help="The kind of action or button on the client side "
"that will trigger the action. One of: "
"client_action_multi, client_action_relate, tree_but_open, "
"client_print_multi"),
'meta': fields.text('Meta Datas'),
'meta_unpickle': fields.function(_value_unpickle, fnct_inv=_value_pickle,
method=True, type='text', string='Metadata'),