3
0
Fork 0
Commit Graph

60 Commits (22412c445de0e3f56e631e1ca95015d87872f50a)

Author SHA1 Message Date
Jairo Llopis 85294a1958 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.
2024-07-24 08:15:52 +02:00
Zakaria Makrelouf f52a14d995 web_m2x_options: s/ev.handleObj.selector/currentTarget * many2many with `options={'open': True}` it always open the first element with this fix it will open the right one 2024-07-24 08:15:52 +02:00
Laurent Mignon (ACSONE) a223f07a72 Makes the module compatible with Odoo community 2024-07-24 08:15:52 +02:00
Zakaria Makrelouf b1a35f7f35 Migration of module web_m2x_options. Adapt JS file to the new JS API and make the module installable [MIG] adapt form.js to the new API. [FIX] Fix bug mentioned in pull #262. [MIG] Make the module installable. 2024-07-24 08:15:52 +02:00
Antonio Espinosa 89088e3575 Limit name_search to 160 like Odoo core does 2024-07-24 08:15:52 +02:00
Antonio Espinosa f969cc2b8f web_m2x_options check Many2one and Many2many options 2024-07-24 08:15:52 +02:00
Holger Brunn 1fe71fa828 support 'open' on many2many_tags
[ADD] support 'no_open_edit' on many2one
[FIX] typos
2024-07-22 17:05:01 +02:00
Nicolas JEUDY e1fd690f56 fix: obscur wrong path on last commit. recreate portage from scratch. 2024-07-22 17:05:01 +02:00
Holger Brunn 7621a8bd21 move all addons to __unported__, set all addons as not installable 2024-07-22 17:05:01 +02:00
Nicolas JEUDY 8bd590f604 - Rename web_m2o_enhanced to web_m2x_options
- Add static/description/index.html

fix: use include instead of extend in js function inheritance.

fix: not overwriting the existing object references with the result of the include

fix: update name according to new module name.

fix: error when displaying many2many field without options defined.
2024-07-22 17:05:01 +02:00