pop-up

Asked by julien M.

Hello,

I wanted to know if it was possible to create pop-up in a wizard ?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
julien M.
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello Julien M.,

Yes, you can by pop up from wizard by following ways:
1)For simple wizard:
    raise wizard.except_wizard(_('UserError'),_('Date not in a defined fiscal year'))

2)For OSV memory type wizard:
   raise osv.except_osv(_('UserError'), _('You must select accounts to reconcile'))

Hope this will help you.

Thanks.

Revision history for this message
julien M. (sanguinator-x) said :
#2

Hello vra,

Thank you for your answer ! That's exactly what I want to do, but I don't want to raise any exeption, I just want to have an Information message (and if it is possible a YES/NO question).
Does it exit ?

Thanks.

Revision history for this message
Parthiv Patel (parthiv-patel-deactivatedaccount) said :
#3

Hi,

(Yes / No kind of message box does not exist)

On Mon, May 17, 2010 at 3:31 PM, julien M. <
<email address hidden>> wrote:

> Question #111307 on OpenObject Addons changed:
> https://answers.launchpad.net/openobject-addons/+question/111307
>
> Status: Answered => Open
>
> julien M. is still having a problem:
> Hello vra,
>
> Thank you for your answer ! That's exactly what I want to do, but I don't
> want to raise any exeption, I just want to have an Information message (and
> if it is possible a YES/NO question).
> Does it exit ?
>
> Thanks.
>
> --
> You received this question notification because you are an answer
> contact for OpenObject Addons.
>

--
Thanks & Regards,
Parthiv Patel

Revision history for this message
julien M. (sanguinator-x) said :
#4

Hello,

Thank you for your help !