From 128b177c9dd6d9b4620bba1f8ab5c9d7279a7551 Mon Sep 17 00:00:00 2001 From: Rivo Lalaina Date: Tue, 10 Dec 2024 08:40:33 +0300 Subject: [PATCH 1/2] [16.0][MIG] admin_light_email : mail_activity _types views --- admin_light_mail/README.rst | 3 +++ admin_light_mail/__manifest__.py | 13 +++++++------ admin_light_mail/i18n/fr.po | 9 +++++++-- admin_light_mail/views/mail_activity_type_views.xml | 12 ++++++++++++ ...e_subtype.xml => mail_message_subtype_views.xml} | 0 .../views/{mail_mail.xml => mail_message_views.xml} | 0 .../{mail_server.xml => mail_server_views.xml} | 0 .../{mail_template.xml => mail_template_views.xml} | 0 .../views/{common.xml => menu_item.xml} | 0 9 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 admin_light_mail/views/mail_activity_type_views.xml rename admin_light_mail/views/{mail_message_subtype.xml => mail_message_subtype_views.xml} (100%) rename admin_light_mail/views/{mail_mail.xml => mail_message_views.xml} (100%) rename admin_light_mail/views/{mail_server.xml => mail_server_views.xml} (100%) rename admin_light_mail/views/{mail_template.xml => mail_template_views.xml} (100%) rename admin_light_mail/views/{common.xml => menu_item.xml} (100%) diff --git a/admin_light_mail/README.rst b/admin_light_mail/README.rst index 65e1ef01..287b4f22 100644 --- a/admin_light_mail/README.rst +++ b/admin_light_mail/README.rst @@ -31,6 +31,9 @@ A new group `Safe Administration / Mail Subtypes` is added. * View and edit the list of subtypes. +Mail Activity Type +------------------ +* View and edit the list of all activity type Contributors ------------ diff --git a/admin_light_mail/__manifest__.py b/admin_light_mail/__manifest__.py index 30dc70f5..cb4dab21 100644 --- a/admin_light_mail/__manifest__.py +++ b/admin_light_mail/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Admin Light Email", - "version": "16.0.1.0.1", + "version": "16.0.1.1.0", "author": "Numigi", "maintainer": "Numigi", "license": "LGPL-3", @@ -14,13 +14,14 @@ "mail", ], "data": [ - "views/common.xml", - "views/mail_mail.xml", - "views/mail_message_subtype.xml", - "views/mail_server.xml", "security/security.xml", "security/ir.model.access.csv", - "views/mail_template.xml", + "views/menu_item.xml", + "views/mail_message_views.xml", + "views/mail_message_subtype_views.xml", + "views/mail_server_views.xml", + "views/mail_template_views.xml", + "views/mail_activity_type_views.xml", ], "installable": True, } diff --git a/admin_light_mail/i18n/fr.po b/admin_light_mail/i18n/fr.po index cfebd7c3..bc47c9b0 100644 --- a/admin_light_mail/i18n/fr.po +++ b/admin_light_mail/i18n/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-16 20:00+0000\n" -"PO-Revision-Date: 2024-09-16 20:00+0000\n" +"POT-Creation-Date: 2024-12-10 05:38+0000\n" +"PO-Revision-Date: 2024-12-10 05:38+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -42,6 +42,11 @@ msgstr "Courriels" msgid "Incoming Mail Servers" msgstr "Serveurs entrants" +#. module: admin_light_mail +#: model:ir.ui.menu,name:admin_light_mail.menu_mail_activity_type +msgid "Mail Activity Types" +msgstr "Types d'activités" + #. module: admin_light_mail #: model:ir.model,name:admin_light_mail.model_ir_mail_server msgid "Mail Server" diff --git a/admin_light_mail/views/mail_activity_type_views.xml b/admin_light_mail/views/mail_activity_type_views.xml new file mode 100644 index 00000000..e8eb0f5c --- /dev/null +++ b/admin_light_mail/views/mail_activity_type_views.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/admin_light_mail/views/mail_message_subtype.xml b/admin_light_mail/views/mail_message_subtype_views.xml similarity index 100% rename from admin_light_mail/views/mail_message_subtype.xml rename to admin_light_mail/views/mail_message_subtype_views.xml diff --git a/admin_light_mail/views/mail_mail.xml b/admin_light_mail/views/mail_message_views.xml similarity index 100% rename from admin_light_mail/views/mail_mail.xml rename to admin_light_mail/views/mail_message_views.xml diff --git a/admin_light_mail/views/mail_server.xml b/admin_light_mail/views/mail_server_views.xml similarity index 100% rename from admin_light_mail/views/mail_server.xml rename to admin_light_mail/views/mail_server_views.xml diff --git a/admin_light_mail/views/mail_template.xml b/admin_light_mail/views/mail_template_views.xml similarity index 100% rename from admin_light_mail/views/mail_template.xml rename to admin_light_mail/views/mail_template_views.xml diff --git a/admin_light_mail/views/common.xml b/admin_light_mail/views/menu_item.xml similarity index 100% rename from admin_light_mail/views/common.xml rename to admin_light_mail/views/menu_item.xml From 77465b2a6ec07ff5376322d3a0c2b9e5bfe83c19 Mon Sep 17 00:00:00 2001 From: Rivo Lalaina Date: Tue, 10 Dec 2024 08:51:45 +0300 Subject: [PATCH 2/2] [16.0][MIG] admin_light_email : mail_activity _types views --- admin_light_mail/security/security.xml | 28 +++++++++++++++---- .../views/mail_message_subtype_views.xml | 6 ---- admin_light_mail/views/mail_message_views.xml | 6 ---- admin_light_mail/views/mail_server_views.xml | 6 ---- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/admin_light_mail/security/security.xml b/admin_light_mail/security/security.xml index cec0f4d0..2f9f9940 100644 --- a/admin_light_mail/security/security.xml +++ b/admin_light_mail/security/security.xml @@ -1,8 +1,16 @@ - - + + Email Servers + + + + + + Emails + + @@ -11,6 +19,16 @@ + + Mail Subtypes + + + + + + + + Users can only change their own templates @@ -22,14 +40,14 @@ + + + - - - diff --git a/admin_light_mail/views/mail_message_subtype_views.xml b/admin_light_mail/views/mail_message_subtype_views.xml index 6baddc46..1495d073 100644 --- a/admin_light_mail/views/mail_message_subtype_views.xml +++ b/admin_light_mail/views/mail_message_subtype_views.xml @@ -1,12 +1,6 @@ - - Mail Subtypes - - - - - - Emails - - - - - - Email Servers - - - -