Jairo Llopis 1469648d00 [FIX] web_m2x_options: Fix error in tree views with many2many_tags
The method `_onOpenColorPicker` is defined on `FormFieldMany2ManyTags`, not in `FieldMany2ManyTags`, so it can only be called on its descendants.

Otherwise, clicking on a `many2many_tags` tag when found in a tree view produces an error such as:

    TypeError: self._onOpenColorPicker is not a function

    http://localhost/web_m2x_options/static/src/js/form.js:354
    Rastreo de error:
    _onOpenBadge@http://localhost/web_m2x_options/static/src/js/form.js:354:17
    proxy/<@http://localhost/web/static/src/js/core/mixins.js:279:20
    dispatch@http://localhost/web/static/lib/jquery/jquery.js:4640:50
    add/elemData.handle@http://localhost/web/static/lib/jquery/jquery.js:4309:41

(cherry picked from commit ddbbe81f4e)
2019-02-21 01:08:30 +01:00
2019-02-15 10:21:52 +00:00
2018-11-26 18:01:51 +00:00
2018-12-02 02:59:09 +00:00
2019-01-27 11:12:12 +00:00
2018-09-27 02:40:55 +02:00
2018-09-27 02:40:55 +02:00

Runbot Status Build Status Coverage Status

Web addons for Odoo

This project aims to deal with modules related to the webclient of Odoo. You'll find modules that:

  • Add facilities to the UI
  • Add widgets
  • Ease the import/export features
  • Generally add clientside functionality
Description
Odoo web client UI related addons
Readme 306 MiB
Languages
JavaScript 69.3%
HTML 24.2%
Python 3.9%
SCSS 1.8%
CSS 0.8%