bzr revid: fp@tinyerp.com-20081231172749-30s603l0y3pq3dnh
This commit is contained in:
Fabien Pinckaers 2008-12-31 18:27:49 +01:00
parent 81bdf50889
commit 21d90144cd
2 changed files with 4 additions and 8 deletions

View File

@ -18,6 +18,9 @@
<field name="model" select="1" required="1"/>
<field name="res_id"/>
<field name="key2" select="2" required="1"/>
<separator string="Values for Event Type" cospan="2"/>
<label string="client_action_multi, client_action_relate" colspan="2"/>
<label string="tree_but_action, client_print_multi" colspan="2"/>
</group>
<group col="2" colspan="2">
<separator string="Action To Launch" colspan="2"/>

View File

@ -75,14 +75,7 @@ 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),
'key2': fields.selection([
('client_action_multi', 'Wizard in Forms'),
('client_action_relate', 'Relate on Object'),
('client_print_multi', 'Print'),
('tree_but_action', 'Wizard in Tree'),
('tree_but_open', 'Open on Tree'),
('','/')
], string='Event Type', size=256,
'key2': fields.char('Event Type', size=256,
help="The kind of action or button in the client side that will trigger the action."),
'meta': fields.text('Meta Datas'),
'meta_unpickle': fields.function(_value_unpickle, fnct_inv=_value_pickle,