diff options
| author | fwi-odoo <fwi@odoo.com> | 2017-04-14 13:02:21 +0200 |
|---|---|---|
| committer | fwi-odoo <fwi@odoo.com> | 2017-04-20 16:41:59 +0200 |
| commit | 86af036ea1175f4a9a5fbca806ab49665fdbc4b0 (patch) | |
| tree | f9d69f2c5c5c766a9a457df59738fea4194a6250 /addons/web/static/src/js/fields | |
| parent | 6da35f7140246d19755da913b4c84fdc16759474 (diff) | |
[FIX] web: fix various bugs when fetching x2manys in form views
- When an one2many is displayed in a list view, the field data are not fully loaded
since only the number of record is displayed. Then when the related form view
is opened the one2many fields displayed need to be loaded.
- Optimized the fetch of x2manys without doing an useless rpc
if we don't need all the fields but only the relation records ids and adapt
the tests for this optimisation.
- Fix wrong inheritance for kanbanmany2many_tags
Diffstat (limited to 'addons/web/static/src/js/fields')
| -rw-r--r-- | addons/web/static/src/js/fields/relational_fields.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/fields/relational_fields.js b/addons/web/static/src/js/fields/relational_fields.js index 7f4fa24e5c2..2d746a81aa1 100644 --- a/addons/web/static/src/js/fields/relational_fields.js +++ b/addons/web/static/src/js/fields/relational_fields.js @@ -1179,7 +1179,7 @@ var FormFieldMany2ManyTags = FieldMany2ManyTags.extend({ }, }); -var KanbanFieldMany2ManyTags = FieldMany2Many.extend({ +var KanbanFieldMany2ManyTags = FieldMany2ManyTags.extend({ _render: function () { var self = this; this.$el.addClass('o_form_field_many2manytags o_kanban_tags'); |
