Commit Graph

15 Commits

Author SHA1 Message Date
jesusVMayor
16b259b9a0 [IMP] web_m2x_options: Perf issue https://github.com/OCA/web/issues/615
* fix unecessary calls

Do check_access_rights and disable_quick_create calls only once per field.
2019-10-02 15:00:26 +02:00
David Vidal
913319e51c [MIG] web_m2x_options: migrated to 10.0 2019-10-02 15:00:26 +02:00
OCA Transbot
1a65e77440 OCA Transbot updated translations from Transifex 2019-10-02 15:00:26 +02:00
Jairo Llopis
eb5e559a53 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.
2019-10-02 15:00:26 +02:00
Zakaria Makrelouf
ab2a30e5ad 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 2019-10-02 15:00:26 +02:00
Laurent Mignon (ACSONE)
1da2b1664f Makes the module compatible with Odoo community 2019-10-02 15:00:26 +02:00
Zakaria Makrelouf
2604d84caa 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. 2019-10-02 15:00:26 +02:00
Antonio Espinosa
e503e3ffd4 Limit name_search to 160 like Odoo core does 2019-10-02 15:00:26 +02:00
OCA Transbot
895a74ecbc OCA Transbot updated translations from Transifex 2019-10-02 15:00:26 +02:00
Antonio Espinosa
e4d520e2c5 web_m2x_options check Many2one and Many2many options 2019-10-02 15:00:26 +02:00
Holger Brunn
6213da32b7 support 'open' on many2many_tags
[ADD] support 'no_open_edit' on many2one
[FIX] typos
2019-10-02 15:00:26 +02:00
Nicolas JEUDY
0535ba6aad fix: obscur wrong path on last commit. recreate portage from scratch. 2019-10-02 15:00:26 +02:00
Holger Brunn
52c40fca2d move all addons to __unported__, set all addons as not installable 2019-10-02 15:00:26 +02:00
Nicolas JEUDY
e8f5e5de85 - 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.
2019-10-02 15:00:26 +02:00
OCA Bot
28ba5105aa [MIG] Add metafiles
[skip ci]
2019-09-29 23:51:47 +02:00