diff options
| author | George Daramouskas <daramousk@users.noreply.github.com> | 2017-01-23 13:07:14 +0200 |
|---|---|---|
| committer | Martin Trigaux <mart-e@users.noreply.github.com> | 2017-01-23 12:07:14 +0100 |
| commit | 5a992857b8d512eb15337b18be408af696ee6c4e (patch) | |
| tree | 93d4fdb8eb252d7ecd637be36ecb7eedc6492430 /addons/web/static/src/js | |
| parent | bcc517b6eb7c288021b399dadab2437db1f3f7db (diff) | |
[FIX] payment: do not rely on English as default language
If the database is create in monolangue and `en_US` is not present, the default
value computation crashes as tries to assign a value not present in the
selection (all installed languages).
Use the environment language as default (same as the default of res.partner).
It may be empty but not a value not existant in the database.
Fixes #15165
Closes #15176
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
