Commit Graph

2 Commits

Author SHA1 Message Date
João Marques
24f3b86e5f [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
2025-01-08 15:49:14 +02:00
Víctor Martínez
fa57dc9e66 [IMP] base_comment_template: Refactor code and convert to Many2Many 2025-01-08 15:49:14 +02:00