On 2018-01-17 09:02, Jon Levy wrote:
> Warnings give the user the option to check a box and not receive the
> warning in the future.  If I don't want to provide the user to be able
> to silence in future, is it appropriate to instead call
> raise_user_error with raise_exception=False?

No, this option is a hack to retrieve translated string until we have
https://bugs.tryton.org/issue3672

There is no option to remove this option because we think that the user
should always have this choice.
But usually, you just need to have a warning name created wisely.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20180117180424.GH4241%40kei.

Reply via email to