[IMP] srpeadsheet: make xlsx import verbose in debug mode
Make the xlsx import display warning for things that couldn't be imported, but only if Odoo is in debug mode. Odoo task 3035674 closes odoo/odoo#103671 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
This commit is contained in:
@@ -18,7 +18,7 @@ const MAP = {
|
||||
const dmyRegex = /^([0|1|2|3][1-9])\/(0[1-9]|1[0-2])\/(\d{4})$/i;
|
||||
|
||||
export function migrate(data) {
|
||||
let _data = load(data);
|
||||
let _data = load(data, !!odoo.debug);
|
||||
const version = _data.odooVersion || 0;
|
||||
if (version < 1) {
|
||||
_data = migrate0to1(_data);
|
||||
|
||||
Reference in New Issue
Block a user