onesteinbv / addons-onestein

Odoo modules developed by Onestein
https://www.onestein.nl/
GNU Affero General Public License v3.0
59 stars 102 forks source link

Odoo 10 client error : Error: QWeb2: Template 'BVEEditor' not found #22

Open funcurv opened 7 years ago

funcurv commented 7 years ago

Even after installation of latest git version I get an Odoo client error when trying to create a new custom bi view. Environment : local setup on my Windows PC.

br

Werner

http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:2908 Traceback: QWeb2.tools.exception@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:2908:7 ._render@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:2952:92 .render@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:2948:146 Widget<.renderElement@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3112:1068 FormWidget<.renderElement@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2215:2957 OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3009:556 AbstractField<.renderElement@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2221:1457 OdooClass.extend/</prototype[name]</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3009:556 Widget<.__widgetRenderAndInsert/<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3112:912 .Deferred/promise.then/</</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:678 jQuery.Callbacks/fire@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:541:281 jQuery.Callbacks/self.add@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:542:467 .Deferred/promise.then/</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:631 .each@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:370:758 .Deferred/promise.then/<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:553 .Deferred@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:548:189 .Deferred/promise.then@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:518 Widget<.__widgetRenderAndInsert@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3112:879 Widget<.replace@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3112:718 .init_fields/<@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2185:616 _.forEach@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:12:558 .init_fields@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2185:570 FormView<.load_record/<@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2130:24 .Deferred/promise.then/</</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:678 jQuery.Callbacks/fire@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:541:281 jQuery.Callbacks/self.add@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:542:467 .Deferred/promise.then/</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:631 .each@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:370:758 .Deferred/promise.then/<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:553 .Deferred@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:548:189 .Deferred/promise.then@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:518 FormView<.load_record@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2129:380 Events<.trigger@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3098:166 EventDispatcherMixin<.trigger@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:3102:115 FormView<.load_defaults/<@http://localhost:8069/web/content/580-17911b7/web.assets_backend.js:2132:198 .Deferred/promise.then/</</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:678 jQuery.Callbacks/fire@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:541:281 jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:546:198 .Deferred/</deferred[tuple[0]]@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:548:31 jQuery.Callbacks/fire@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:541:281 jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:546:198 .Deferred/promise.then/</</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:849 jQuery.Callbacks/fire@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:541:281 jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:546:198 .Deferred/promise.then/</</<@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:547:849 jQuery.Callbacks/fire@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:541:281 jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:546:198 done@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:937:86 .send/callback@http://localhost:8069/web/content/566-0addf6f/web.assets_common.js:957:15

astirpe commented 6 years ago

It can be caused by a not correctly deploy of the module. A restart of the server could solve the problem.

astirpe commented 6 years ago

This issue seems similar to https://github.com/OCA/mis-builder/issues/43. I'm more convinced than before that it's a not-correct deploy of the module.

phuongnguyen3108 commented 6 years ago

Same here. It show error when I click on "Custom BI View" menu (belong to mis-builder app).

HaraldPanten commented 6 years ago

Hi,

I was working with Odoo 10.0-20180303 (Community Edition) in a local environment with Docker.

I had the same problem when I just installed web_widget_color + MIS_builder + MIS_report modules.

https://github.com/OCA/web/tree/10.0/web_widget_color https://github.com/OCA/mis-builder/tree/10.0/mis_builder https://github.com/OCA/l10n-spain/tree/10.0/l10n_es_mis_report

Once I restarted the Docker, it was working fine. If you're not using it, restarting the service may fix this problem.

However, I couldn't check the casuistry without using Docker.