Commit Graph

2 Commits

Author SHA1 Message Date
João Marques
9f1bd86334 [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
2022-10-18 11:50:12 +02:00
Víctor Martínez
3442072bef [IMP] base_comment_template: Refactor code and convert to Many2Many 2022-10-18 11:50:12 +02:00