mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Fix Qweb templates. (#561)
* [FIX][web_m2x_options] Fix Qweb templates.
They were trying to replace non-existing elements, and this was being logged to console:
Can't find "a.oe_m2o_cm_button" when extending template FieldMany2One
Can't find "span.badge" when extending template FieldMany2ManyTag
* Raise version correctly.
* [FIX] Make many2many_tags tag deletion work again
* Correct replacement of event
Instead of overwriting all events from upstream widget, better just overwrite the one you need and inherit the rest.
This commit is contained in:
@@ -116,7 +116,7 @@ Your XML form view definition could contain::
|
||||
Known issues
|
||||
============
|
||||
|
||||
Double check that you have no inherited view that remove ``options`` you set on a field !
|
||||
Double check that you have no inherited view that remove ``options`` you set on a field !
|
||||
If nothing works, add a debugger in the first line of ``get_search_result method`` and enable debug mode in Odoo. When you write something in a many2one field, javascript debugger should pause. If not verify your installation.
|
||||
|
||||
Roadmap
|
||||
@@ -146,6 +146,7 @@ Contributors
|
||||
* Nicolas JEUDY <nicolas@sudokeys.com>
|
||||
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
|
||||
* Zakaria Makrelouf <z.makrelouf@gmail.com>
|
||||
* Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user