تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3078 أدوات العرض

Hello everyone, 

I have encountered a very wicked problem. My partner have made a change to customize the frontend of the web site by adding a new js script. 

After his edit, an error was shonw like this : 


load could not load template
ValueError: L'élément '' ne peut être localisé dans la vue parente
Contexte de l'erreur :
Vue `/website/static/src/js/user_custom_javascript.custom.web.assets_frontend_lazy.js`
[view_id: 2362, xml_id: n/a, model: n/a, parent_id: 428]
Template: 2231
Path: /t/t
Une erreur est survenue pendant le rendu du template 2231 

Could you please help me by a way to make a diagnostic to find a solution.

Thank you very much for your help.


Reda BOUCID


الصورة الرمزية
إهمال
أفضل إجابة

I found a solution for a similar problem. Found a view called "/website/static/src/js/user_custom_javascript.custom.web.assets_frontend_lazy.js" and when I disabled that view the error disappeared. Apparently, changes made in the website editor on *.js files generate that view that records or links the changes to load in Odoo. 

Hope it helps.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 20
2664
1
نوفمبر 24
1017
1
أكتوبر 24
652
0
أغسطس 23
1932
1
مايو 25
614