Commit Graph

6 Commits

Author SHA1 Message Date
AaronHForgeFlow
1f6bb667db [FIX] base_comment_template: search when multiple models in a template 2023-07-28 09:28:43 +02:00
Víctor Martínez
d9d2ef5b27 [FIX] base_comment_template: Add models text field to prevent error from ir.model model
TT40209
2022-11-30 16:59:53 +01:00
Víctor Martínez
dd174895f7 [MIG] base_comment_template: Migration to 15.0
TT35696
2022-10-18 11:50:12 +02:00
Mihai Fekete
43942066d8 [14.0] [FIX] Fix base comment template rendering.
[UPD] Update base_comment_template.pot

[UPD] README.rst

base_comment_template 14.0.3.0.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-14.0/reporting-engine-14.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-base_comment_template/
2022-10-18 11:50:12 +02:00
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