Page 2 of 2

Re: Add others fields in Grid ?

Posted: Wed Aug 10, 2022 5:08 pm
by emilie

I tried with an empty database, only demo data, and I have same errors.
logs from Navigator inspection :

Owl is running in 'dev' mode.

This is not suitable for production use.
See https://github.com/odoo/owl/blob/master/doc/reference/config.md#mode for more information.
web.assets_common.min.js:5228 Tour Manager is ready.  running_tour=null
web.assets_common.min.js:85 warning: Some modules could not be started
web.assets_common.min.js:85 Missing dependencies:     Array(1)
web.assets_common.min.js:90 Non loaded modules:       Array(1)
web.assets_common.min.js:91 Debug:                    Object
Task.js:1 Uncaught ReferenceError: c is not defined
    at eval (Task.js:1:1)
    at ./src/lib/Task.js (app.js?v137.1:328:1)
    at __webpack_require__ (app.js?v137.1:88:30)
    at eval (ProjectModel.js:29:64)
    at ./src/lib/ProjectModel.js (app.js?v137.1:316:1)
    at __webpack_require__ (app.js?v137.1:88:30)
    at eval (App.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options:6:75)
    at ./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js& (app.js?v137.1:174:1)
    at __webpack_require__ (app.js?v137.1:88:30)
    at eval (App.vue:2:279)
vue.runtime.esm.js:8462 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
vue.runtime.esm.js:8472 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
web.assets_backend.min.js:11334 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'projectID')
    at Class.start (web.assets_backend.min.js:11334:568)
    at prototype.<computed> [as start] (web.assets_common.min.js:4715:488)
    at web.assets_common.min.js:5053:52
    at async Promise.all (index 1)
    at async Promise.all (index 0)
    at async Class.start (web.assets_backend.min.js:4402:1)
    at async Class.start (web.assets_backend.min.js:4490:1335)
2web.assets_backend.min.js:11336 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'run')
    at Class.destroy (web.assets_backend.min.js:11336:56)
    at prototype.<computed> [as destroy] (web.assets_common.min.js:4715:488)
    at web.assets_common.min.js:4838:658
    at Array.forEach (<anonymous>)
    at Class.destroy (web.assets_common.min.js:4838:628)
    at Class.destroy (web.assets_common.min.js:4854:834)
    at Class.destroy (web.assets_common.min.js:5042:123)
    at Class.destroy (web.assets_backend.min.js:4403:44)
    at prototype.<computed> [as destroy] (web.assets_common.min.js:4715:488)
    at Class.destroy (web.assets_backend.min.js:4490:1393)
web.assets_backend.min.js:11334 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'projectID')
    at Class.start (web.assets_backend.min.js:11334:568)
    at prototype.<computed> [as start] (web.assets_common.min.js:4715:488)
    at web.assets_common.min.js:5053:52
    at async Promise.all (index 1)
    at async Promise.all (index 0)
    at async Class.start (web.assets_backend.min.js:4402:1)
    at async Class.start (web.assets_backend.min.js:4490:1335)
gantt.module.js:19352 Uncaught TypeError: Cannot read properties of undefined (reading 'add')
    at keydown (gantt.module.js:19352:31)
    at HTMLDocument.handler (gantt.module.js:18920:72)

Re: Add others fields in Grid ?

Posted: Wed Aug 10, 2022 5:25 pm
by Terence

It is something on your end. On the demo site and for other users the install is working fine.

It seems it does not load the sources correctly. Are they downloaded correctly? Have you seen this topic?

viewtopic.php?f=58&t=21456


Re: Add others fields in Grid ?

Posted: Fri Aug 12, 2022 3:04 pm
by emilie

Well, it was an error with my corrupted database.
Customs fields are available, thanks