c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12498
[Bug 702665] [NEW] warning message on object button closes the window
Public bug reported:
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
** Affects: openobject-server
Importance: Undecided
Status: New
--
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
Follow ups
References