odoo/odoo#189676

Created by Fun Services, K Theja (kthe)
Merged at e3be647da441b61dff7a1dfa29a8f1ca7d9a4466

Statuses:

Linked pull requests
label
odoo-dev:master-imp-services-m2m-tags-editable-kthe
head
e5004ddc5118bae132f8c06e6b59a7a763a22ed5
merged
7 months ago by Fun Services, Xavier Bol (xbo)
odoo/odoo odoo/enterprise
master #189676 #75171

[IMP] project: added edit_tags to some fields and changes in FormViewDialog

<h3>[IMP] project: added edit_tags to some fields</h3>

This commit introduces the edit_tags which open Many2X records when clicked on
fields with many2many widget type.


<h3>[FIX] web: changes in FormViewDialog and Many2many tags avatar</h3>

Adapted Many2ManyTagsAvatarField to work with edit_tags.

Now edit_tags work in many2many widgets in list view.

Tweaked the test cases of many2many tags as before the color editor and
edit_tags was not visble in list view.

In form view dialog when change the company and try save the record and then
save view we get a traceback saying pushStateBeforeReload is not a function, but
as FormViewDialog is not action_window, we dont need to store the state of view,
so we skip saving the state here.

task-3976577