This code <field name="type"> form</field> produce the error below
The value " form " for the field "type" is not in the selection
make sure no space between “form”
the field(s) res_model,src_model: Invalid model name in the action definition.
if the code seem rights. restart the openerp-server.