Commit Graph

2 Commits

Author SHA1 Message Date
João Marques
aa72fdedf7 [FIX] base_comment_template: Filter domain correctly
1. Safe eval domain before checking if it is defined. This makes [] be "False" on the first check, and provides the proper use case for when the domain is empty
2. Use filtered_domain in record instead of a search in self. When on a compute, we are on a NewId context, so the search would always fail

TT29309
2024-05-03 09:51:54 -06:00
Víctor Martínez
29842b1cb4 [IMP] base_comment_template: Refactor code and convert to Many2Many 2024-05-03 09:51:54 -06:00