Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] base: validate timezones again
In odoo#154177 it was apparently decided that validating callable selections is unnecessary, leading to the lang and timezone fields not being validated anymore. Nothing to be done for the lang as it relies on the installed langs and thus the corresponding database, however the tz list has effectively been static / global since odoo#26496 (f11d143). So initialise `tz` with the precomputed value instead of the function which returns the precomputed value. Part-of: odoo#170995 Signed-off-by: Xavier Morel (xmo) <[email protected]>
- Loading branch information