mirror of
https://github.com/bringout/oca-ocb-security.git
synced 2026-04-20 02:32:00 +02:00
6 lines
245 B
Python
6 lines
245 B
Python
def get_iap_error_message(env, error):
|
|
errors = {
|
|
"not_configured": env._("Something went wrong. Try again later"),
|
|
"no_subscription": env._("You don't have an active subscription"),
|
|
}
|
|
return errors.get(error, error)
|