Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5314 Visualizzazioni

Hello,


Since I migrate from Odoo v14 to Odoo v15 I got this error when I want to install a module


```

odoo.addons.base.models.qweb.QWebException: 'bus.bus' object has no attribute '_sendone' Traceback (most recent call last): 

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 43, in template_186 

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 244, in _get_asset_nodes return self._generate_asset_nodes_cache(bundle, css, js, debug, async_load, defer_load, lazy_load, media) 

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 253, in _generate_asset_nodes_cache return self._generate_asset_nodes(bundle, css, js, debug, async_load, defer_load, lazy_load, media) 

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 264, in _generate_asset_nodes return remains + asset.to_node(css=css, js=js, debug=debug, async_load=async_load, defer_load=defer_load, lazy_load=lazy_load) 

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/assetsbundle.py", line 145, in to_node css_attachments = self.css(is_minified=not is_debug_assets) or [] 

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/assetsbundle.py", line 420, in css self.save_attachment(extension, css) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/assetsbundle.py", line 343, in save_attachment self.env['bus.bus']._sendone('broadcast', 'bundle_changed', { AttributeError: 'bus.bus' object has no attribute '_sendone'

Error when render the template AttributeError: 'bus.bus' object has no attribute '_sendone' Template: web.frontend_layout Path: /t/html/head/t[1] Node:

```

Whatever the module I choice I get always this issue !


If I look at bus.py model the `sendone()` method not exist it's `_sendone()` (with underscore) !

The same for `sendmany()` !


Anyone know where this come from ?


Thanks

Avatar
Abbandona
Autore Risposta migliore

Yes, I updated to latest odoo version

Avatar
Abbandona
Risposta migliore

did u find solution ?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
feb 22
3562
1
mag 23
1810
3
giu 22
13030
0
feb 22
2100
3
dic 24
12770