Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
5093 Vistas

Hi, I'm trying to create a new sign up form in my website; 

I modified the layout and added new fields, then I created a radio button to select the user type (if it is a private or a company user) and the script in JS in its path (custom_addon/static/src/js/...) but when I upgrade the module, it return this error: "External ID not found in the system: web.assets_backend".


I leave my code for further information:


every help is appreciated, thanks in advance!

Avatar
Descartar
i have followed but it is not working
Mejor respuesta

Hi,

In your manifest you have given 'Assets' as :

'assets': {
'web.assets_backend': [
'signup_form_addon/static/src/js/radio_check_form.js '
]
},

Instead try to give it as :

'assets': {
'web.assets_frontend': [
'signup_form_addon/static/src/js/radio_check_form.js '
]
},

Regards

Avatar
Descartar
Mejor respuesta

If you are on version 14, remove the js in the manifest file. If you are on 15,16, remove the js in the template file as you already declare it in the manifest.

  1.         id="assets_backend" name="radio check form" inherit_id="web.assets_backend">
  2.             expr="." position="inside">
  3.                 >
  4.             >
  5.         >
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 22
3399
1
dic 20
3685
1
ene 19
5242
2
dic 22
2514
1
ago 20
8950