Prior to this change, anything passed in the context of a m2m avatar field would not be taken into account because the context was not passed properly in the many2many_tags_avatar_field template. This commit fixes that and also adds a test for future testing. task-3599601 closes odoo/odoo#146562 X-original-commit: 03202b7c790be266674e12b96a0b99f44ac773ed Signed-off-by: Francois Georis (fge) <fge@odoo.com>