Skip to Content
Menu
This question has been flagged
866 Views

Hi,

Im trying to install a module v13 in 15 but due the changes with the way use the  assest im having problems.


'assets': {
'web.assets_qweb': [
'planning_schedule/static/src/xml/base.xml',
#('remove', 'web/static/src/legacy/**/*.xml'),
],
"web.assets_common": [
'planning_schedule/static/src/less/form_view.less',
],
'web.assets_backend': [
'planning_schedule/static/src/js/planning_controller.js',
'planning_schedule/static/src/js/planning_model.js',
'planning_schedule/static/src/js/planning_renderer.js',
'planning_schedule/static/src/js/planning_view.js',
],
},


So the problem I have is:


UncaughtPromiseError > TypeError

Uncaught Promise > fieldsInfo is undefined


TypeError: fieldsInfo is undefined 

getJsClassWidget@http://127.0.0.1:8069/web/assets/467-b5ee339/web.assets_backend.min.js:3242:770 

willStart@http://127.0.0.1:8069/web/assets/467-b5ee339/web.assets_backend.min.js:3250:435



Can someone please help me with this problem.


Regards.

Avatar
Discard

You have field named fieldsInfo undefined in one of the below js files:

'planning_schedule/static/src/js/planning_controller.js',
'planning_schedule/static/src/js/planning_model.js',
'planning_schedule/static/src/js/planning_renderer.js',
'planning_schedule/static/src/js/planning_view.js'