I want to display a popup message when a function is called in OpenERP V6.
raise osv.except_osv(_('Warning!'), ('Event'))
used to create an exception / error dialog in a specific model, which is usually in the form / tree / a wizard