Commit Graph

2 Commits

Author SHA1 Message Date
João Marques
47ed1ea795 [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
2021-05-25 11:26:33 +02:00
Víctor Martínez
49a6955303 [IMP] base_comment_template: Refactor code and convert to Many2Many 2021-05-04 08:04:32 +02:00