← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Description changed:

  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'} }
+         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

-- 
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:
  New

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