Hello
I have the backup of an Odoo Enterprise v15 database.
I need to copy all the products, with their images, to a new database but from an Odoo Community v15 installation.
I tried to restore the backup directly in Odoo Community v15 but it did not allow me to see the products because I got an error:
UncaughtPromiseError > TypeError
Promesa desconocida > Cannot read properties of undefined (reading 'type')
TypeError: Cannot read properties of undefined (reading 'type') at ControlPanelModelExtension._extractAttributes (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:3615:107) at http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:3597:6 at Array.forEach () at ControlPanelModelExtension._createGroupOfFiltersFromArch (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:3592:364) at ControlPanelModelExtension._addFilters (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:3581:51) at ControlPanelModelExtension.prepareState (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:3555:149) at ControlPanelModelExtension.importState (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:5852:68) at ActionModel.importState (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:5868:180) at new Model (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:5857:6) at new ActionModel (http://localhost:8069/web/assets/21499-4e07b0d/web.assets_backend.min.js:4502:1)
First activate the developer mode in order to better report js errors.
You could activate it using this url http://localhost:8069/web?debug=assets
Hi, thanks for your answer!
I activated the developer mode and tried to see the products again. This is the report I got:
UncaughtPromiseError > TypeError
Promesa desconocida > Cannot read properties of undefined (reading 'type')
TypeError: Cannot read properties of undefined (reading 'type')
at ControlPanelModelExtension._extractAttributes (http://localhost:8069/web/assets/debug/web.assets_backend.js:45260:46)
at http://localhost:8069/web/assets/debug/web.assets_backend.js:45116:26 (/web/static/src/legacy/js/control_panel/control_panel_model_extension.js:959)
at Array.forEach (<anonymous>) (/web/static/src/legacy/js/control_panel/control_panel_model_extension.js:815)
at ControlPanelModelExtension._createGroupOfFiltersFromArch (http://localhost:8069/web/assets/debug/web.assets_backend.js:45073:24) (/web/static/src/legacy/js/control_panel/control_panel_model_extension.js:772)
at ControlPanelModelExtension._addFilters (http://localhost:8069/web/assets/debug/web.assets_backend.js:44899:18) (/web/static/src/legacy/js/control_panel/control_panel_model_extension.js:598)
at ControlPanelModelExtension.prepareState (http://localhost:8069/web/assets/debug/web.assets_backend.js:44522:22) (/web/static/src/legacy/js/control_panel/control_panel_model_extension.js:221)
at ControlPanelModelExtension.importState (http://localhost:8069/web/assets/debug/web.assets_backend.js:93592:22) (/web/static/src/legacy/js/model.js:81)
at ActionModel.importState (http://localhost:8069/web/assets/debug/web.assets_backend.js:93871:27) (/web/static/src/legacy/js/model.js:360)
at new Model (http://localhost:8069/web/assets/debug/web.assets_backend.js:93767:18) (/web/static/src/legacy/js/model.js:256)
at new ActionModel (http://localhost:8069/web/assets/debug/web.assets_backend.js:63507:5) (/web/static/src/legacy/js/views/action_model.js:59)