Add a new widget named "polymorphic" The polymorphic field allow to dynamically store an id linked to any model in OpenERP instead of the usual fixed one in the view definition
E.g:
<field name="model" invisible="1" /> <field name="object_id" widget="polymorphic" polymorphic="model" />
Please log in to comment on this module