Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] util.fields: error when table of model base_import.mapping does…
…n't exist In 1d9e20e, a new feature was implemented to consider the model `base_import.mapping` when removing fields. However, it was not considering if the table doesn't exist, which could occur when migrating from a version <= 11.0. That causes the following error in such cases: relation "base_import_mapping" does not exist This commit fixes the above issue by ensuring the table actually exists before accessing it. closes #107 Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
- Loading branch information