Commit Graph

16 Commits

Author SHA1 Message Date
Akim Juillerat
1c2fa005d8 [10.0][ADD] option to deactivate color picker on many2many_tags (#713) 2021-03-02 14:34:29 +05:30
jesusVMayor
8a6022cea7 web_m2x_options: Hide the create/create and edit... button when the user does not have creation permission. 2021-03-02 14:34:29 +05:30
jesusVMayor
207782fcd5 [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.
2021-03-02 14:34:29 +05:30
David Vidal
20ef2c190d [MIG] web_m2x_options: migrated to 10.0 2021-03-02 14:34:29 +05:30
OCA Transbot
c15469bf79 OCA Transbot updated translations from Transifex 2021-03-02 14:34:29 +05:30
Jairo Llopis
44a208f966 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.
2021-03-02 14:34:29 +05:30
Zakaria Makrelouf
818ce37523 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 2021-03-02 14:34:29 +05:30
Laurent Mignon (ACSONE)
1f9d797746 Makes the module compatible with Odoo community 2021-03-02 14:34:29 +05:30
Zakaria Makrelouf
43a4a5b48f 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. 2021-03-02 14:34:29 +05:30
Antonio Espinosa
f41f6eb2d3 Limit name_search to 160 like Odoo core does 2021-03-02 14:34:29 +05:30
OCA Transbot
cae7cff1f0 OCA Transbot updated translations from Transifex 2021-03-02 14:34:29 +05:30
Antonio Espinosa
7e6c12cd8c web_m2x_options check Many2one and Many2many options 2021-03-02 14:34:29 +05:30
Holger Brunn
e7943a4848 support 'open' on many2many_tags
[ADD] support 'no_open_edit' on many2one
[FIX] typos
2021-03-02 14:34:29 +05:30
Nicolas JEUDY
bfb5e7f3dc fix: obscur wrong path on last commit. recreate portage from scratch. 2021-03-02 14:34:29 +05:30
Holger Brunn
48dd81ccf8 move all addons to __unported__, set all addons as not installable 2021-03-02 14:34:29 +05:30
Nicolas JEUDY
34bf5f32d2 - 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.
2021-03-02 14:34:29 +05:30