Commit Graph

24 Commits (a3ae6924fcce903f0fc573d3c4e1a67a3cd69759)

Author SHA1 Message Date
OCA-git-bot 63d65104ac Merge PR #778 into 15.0
Signed-off-by pedrobaeza
2023-07-28 07:05:56 +00:00
AaronHForgeFlow 89e980e61f [FIX] base_comment_template: search when multiple models in a template 2023-07-28 09:03:31 +02:00
Phil Gaiser c938db02d0 [FIX] base_comment_template: Fix access error.
Fix an access error in the base_comment_template module in
the BaseCommentTemplate.name_get() method.
Add sudo() before reading ir_model.name fields to fix access error for users
without admin rights when opening contact form views.
2023-07-04 15:39:35 +02:00
Bearnard21 43c4e7f805 [IMP] base_comment_template: Dynamic placeholder genereator added. 2023-02-09 13:33:53 +03:00
Víctor Martínez 87b6af456b [FIX] base_comment_template: Add models text field to prevent error from ir.model model
TT40209
2022-11-30 14:35:32 +01:00
Víctor Martínez 13b60177b7 [MIG] base_comment_template: Migration to 15.0
TT35696
2022-09-13 17:19:02 +02:00
Jesús Alan Ramos Rodríguez 3b50a7ab08 [MIG] base_comment_template: Migration to 15.0 2022-09-13 16:44:48 +02:00
Mihai Fekete 153dabf9cb [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-09-13 16:44:43 +02:00
João Marques 724fb2d3d6 [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-09-13 16:44:42 +02:00
Víctor Martínez 9a366d77d1 [IMP] base_comment_template: Adapt to 14.0
[UPD] Update base_comment_template.pot

[UPD] README.rst

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-09-13 16:44:40 +02:00
Pedro M. Baeza 8fdbcaf404 [FIX] base_comment_template: Incorrect m2m column names + script + avoid FK constraint
- The name of the columns were swapped, so better to fix it for avoiding
  mistakes due to this.
- Migration script for detecting the condition and swap column names.
- On v12 > v13 migration, include JOINs for avoiding FK constraint,
  which `ON CONFLICT` clause doesn't protect.
2022-09-13 16:44:40 +02:00
Víctor Martínez c646ae89dc [IMP] base_comment_template: Refactor code and convert to Many2Many 2022-09-13 16:44:40 +02:00
Víctor Martínez d5be3ca15c [IMP] base_comment_template: Add function to get_comment_template records 2022-09-13 16:44:40 +02:00
Carlos Roca 5d01d633e5 [IMP] base_comment_template: Improved sentences on fields 2022-09-13 16:44:40 +02:00
teodoralexandru@nexterp.ro d20a4feb9d [IMP] base_comment_template: Code refactorization 2022-09-13 16:44:40 +02:00
Mihai Fekete a68181d03a [MIG] [13.0] Migrate base_comment_template from account_invoic_reporting. 2022-09-13 16:44:40 +02:00
Pierre Verkest 6570eb6001 [MIG] base_comment_template: Migration to 14.0 add unit test
[UPD] Update base_comment_template.pot

[UPD] README.rst
2022-09-13 16:44:38 +02:00
Pierre Verkest 744563b661 [IMP] base_comment_template: black, isort, prettier 2022-09-13 16:44:38 +02:00
Pedro M. Baeza 78d335f033 [FIX] base_comment_template: Make field truly company dependent
Previous field declaration was incorrect due to a typo, leading to non applying the
company dependent features.

Now everything is correct and the migration scripts care of moving data properly.
2022-09-13 16:44:37 +02:00
Ivan Todorovich 1f665aa7ce [IMP] base_comment_template multi company rules
[IMP] Move comment_template_id from account_invoice_comment_template and make it company_dependant

[IMP] base_comment_template: Add test
2022-09-13 16:44:35 +02:00
Raf Ven f946198245 [MIG] base_comment_template: Migration to 12.0 2022-09-13 16:44:33 +02:00
xavierjimenez c7cc0221db [MIG] base_comment_template: Migration to 11.0
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2022-09-13 16:44:31 +02:00
Cedric Le Brouster 627ef24675 [MIG] base_comment_template, invoice_comment_template: Migration to 10.0
Port modules base_comment_template and invoice_comment_template to V10
2022-09-13 16:29:17 +02:00
leNeo 6faca5e4b9 [MIG] base_comment_template to 9.0 2022-09-13 16:29:17 +02:00