← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 702665] Re: warning message on object button closes the window

 

Hi Olivier,

thanks for the reply and sorry for the mistake. I was not sure where to find the corresponding doc.
 Maybe this report could be used to track an improvement on the behaviour or error reporting.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/702665

Title:
  warning message on object button closes the window

Status in OpenObject Server:
  Invalid

Bug description:
  I'm trying to display a simple warning dialog with an object button.

  <button name="check_infos" string="Confirm" type="object" />

  def check_infos(self, cr, uid, ids, context):
          return { 'warning': {'title': 'test',  'message':'test'} }

  I don't get the expected message, but  :
  - in the web client I'm redirected to the home page
  - in the gtk client, I'm redirected to /dev/null : the client is killed

  I'm on v6 trunk rev 3260





References