openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #01041
Re: Warning message when creating/writing objects
Hello,
If you are not looking for a popup message, and if you are using the
webclient in at least 6.1 you might be interested by the orm log method
which will show you a notification and a link on an object
(for example your created/written object).
Regards,
Yannick
On Wed, Nov 7, 2012 at 4:09 PM, Damian Soriano (Gmail) <
damiansoriano@xxxxxxxxx> wrote:
> Dear Framwork Experts,
>
> I face this same problem many times during the development of modules, I
> want to show some warning message when a an object is created or written
> but still allow the operation to take place.
>
> The normal way I do this is by raising an exception from python to show
> the message. Unfortunately, if I raise an exception when creating/writing
> an object the operation is aborted, so I cannot do that. I tried to return
> an action from the create function but unsuccessfully.
>
> Is there any way to accomplish this?
>
> If not I strongly believe that OpenERP should give support for that.
>
> Regards
>
> Damián Soriano
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References