Commit Graph

9 Commits

Author SHA1 Message Date
Jesús Alan Ramos Rodríguez
e3abb35faf [MIG] base_comment_template: Migration to 17.0 2024-05-03 10:01:36 -06:00
matteo.tognini
2ec8a0e14b [IMP]base_comment_template: using markup.safe to render html in report 2024-05-03 09:51:54 -06:00
Jesús Alan Ramos Rodríguez
644a243e57 [IMP] base_comment_template: allow to select rendering engine in comment template 2024-05-03 09:51:54 -06:00
AaronHForgeFlow
1812c074d4 [FIX] base_comment_template: search when multiple models in a template 2024-05-03 09:51:54 -06:00
Víctor Martínez
ba957ba71a [FIX] base_comment_template: Add models text field to prevent error from ir.model model
TT40209
2024-05-03 09:51:54 -06:00
Víctor Martínez
1a9d3178f1 [MIG] base_comment_template: Migration to 15.0
TT35696
2024-05-03 09:51:54 -06:00
Mihai Fekete
e4f65828bb [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/
2024-05-03 09:51:54 -06:00
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