From 5dcc3638b3318d87dbe7efa0206215692d394124 Mon Sep 17 00:00:00 2001 From: Aungkokolin1997 Date: Tue, 10 Mar 2026 08:33:52 +0000 Subject: [PATCH 1/2] [IMP] template_content_swapper: add form view --- .../models/template_content_mapping.py | 2 +- .../views/template_content_mapping_views.xml | 32 ++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/template_content_swapper/models/template_content_mapping.py b/template_content_swapper/models/template_content_mapping.py index b4f47fac08..6e2d068737 100644 --- a/template_content_swapper/models/template_content_mapping.py +++ b/template_content_swapper/models/template_content_mapping.py @@ -61,6 +61,6 @@ def open_template_mapping(self): "type": "ir.actions.act_window", "name": "Template Content Mappings", "res_model": "template.content.mapping", - "view_mode": "list", + "view_mode": "list,form", "context": {"multi_lang": multi_lang}, } diff --git a/template_content_swapper/views/template_content_mapping_views.xml b/template_content_swapper/views/template_content_mapping_views.xml index 57bd342bf8..a653e99738 100644 --- a/template_content_swapper/views/template_content_mapping_views.xml +++ b/template_content_swapper/views/template_content_mapping_views.xml @@ -4,7 +4,7 @@ template.content.mapping.list template.content.mapping - + @@ -14,6 +14,36 @@ + + template.content.mapping.form + template.content.mapping + +
+ + + + + + + + + + + + + + + + + + + +
+
+
template.content.mapping.search template.content.mapping From 3f3b8df116bb89932c2350ffa2a4fdc5a93c9d3f Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 28 Sep 2026 01:45:16 +0000 Subject: [PATCH 2/2] [BOT] post-merge updates --- README.md | 2 +- template_content_swapper/README.rst | 2 +- template_content_swapper/__manifest__.py | 2 +- template_content_swapper/static/description/index.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f7650ffa6c..d66fdff49b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ addon | version | maintainers | summary [sequence_reset_period](sequence_reset_period/) | 18.0.1.0.0 | | Auto-generate yearly/monthly/weekly/daily sequence period ranges [server_action_mass_edit](server_action_mass_edit/) | 18.0.1.1.4 | | Mass Editing [server_action_mass_edit_onchange](server_action_mass_edit_onchange/) | 18.0.1.1.1 | | Extension of server_action_mass_edit -[template_content_swapper](template_content_swapper/) | 18.0.1.0.0 | yostashiro AungKoKoLin1997 | Template Content Swapper +[template_content_swapper](template_content_swapper/) | 18.0.1.1.0 | yostashiro AungKoKoLin1997 | Template Content Swapper [//]: # (end addons) diff --git a/template_content_swapper/README.rst b/template_content_swapper/README.rst index f29f461fd7..31d1b14971 100644 --- a/template_content_swapper/README.rst +++ b/template_content_swapper/README.rst @@ -11,7 +11,7 @@ Template Content Swapper !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:08a67b31885d4a29f1ca6707cc1cff1f731e59ebe74c78a3183cbef924deb2eb + !! source digest: sha256:0396399fe852c1e2758c288cdf0bf256b9fb9086077251ffb897a08ab9482ce9 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/template_content_swapper/__manifest__.py b/template_content_swapper/__manifest__.py index c6f8ac616b..6ad0522c9b 100644 --- a/template_content_swapper/__manifest__.py +++ b/template_content_swapper/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Template Content Swapper", - "version": "18.0.1.0.0", + "version": "18.0.1.1.0", "author": "Quartile, Odoo Community Association (OCA)", "license": "AGPL-3", "category": "Tools", diff --git a/template_content_swapper/static/description/index.html b/template_content_swapper/static/description/index.html index b25ebdbfe5..c0666bdabe 100644 --- a/template_content_swapper/static/description/index.html +++ b/template_content_swapper/static/description/index.html @@ -3,7 +3,7 @@ -README.rst +Template Content Swapper