From e7c453bc33a6dfc07758e662a50173fb93ddda37 Mon Sep 17 00:00:00 2001 From: duyquyen96 Date: Thu, 15 Jun 2023 11:28:39 +0700 Subject: [PATCH 1/2] [IMP] viin_brand_auth_totp*: Viindoo debranding for module auth_totp* --- .../views/user_perferences.xml | 10 +++ viin_brand_auth_totp_mail/__init__.py | 0 viin_brand_auth_totp_mail/__manifest__.py | 63 +++++++++++++++++++ .../data/mail_template_data.xml | 24 +++++++ 4 files changed, 97 insertions(+) create mode 100644 viin_brand_auth_totp_mail/__init__.py create mode 100644 viin_brand_auth_totp_mail/__manifest__.py create mode 100644 viin_brand_auth_totp_mail/data/mail_template_data.xml diff --git a/viin_brand_auth_totp/views/user_perferences.xml b/viin_brand_auth_totp/views/user_perferences.xml index f6aa032c..714df17f 100644 --- a/viin_brand_auth_totp/views/user_perferences.xml +++ b/viin_brand_auth_totp/views/user_perferences.xml @@ -10,4 +10,14 @@ + + user form: add totp status + res.users + + + + https://viindoo.com/documentation/15.0/applications/getting-started/external-apps-integration/two-factor-authentication.html + + + diff --git a/viin_brand_auth_totp_mail/__init__.py b/viin_brand_auth_totp_mail/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/viin_brand_auth_totp_mail/__manifest__.py b/viin_brand_auth_totp_mail/__manifest__.py new file mode 100644 index 00000000..abb13071 --- /dev/null +++ b/viin_brand_auth_totp_mail/__manifest__.py @@ -0,0 +1,63 @@ +{ + 'name': "2FA Invite mail Branding For Viindoo", + 'name_vi_VN': "Giao diện Viindoo cho module 2FA Invite mail", + + 'summary': """ +Theme branding Viindoo for module 2FA Invite mail""", + 'summary_vi_VN': """ +Giao diện brand Viindoo cho module 2FA Invite mail +""", + + 'description': """ +What it does +============ +This module will change module 2FA Invite mail following Viindoo's brand + + +Editions Supported +================== +1. Community Edition +2. Enterprise Edition + + """, + + 'description_vi_VN': """ +Ứng dụng này làm gì +=================== +Module này sẽ thay đổi module 2FA Invite mail theo thương hiệu Viindoo + + +Ấn bản được Hỗ trợ +================== +1. Ấn bản Community +2. Ấn bản Enterprise + +""", + + 'author': "Viindoo", + 'website': "https://viindoo.com", + 'live_test_url': "https://v15demo-int.viindoo.com", + 'live_test_url_vi_VN': "https://v15demo-vn.viindoo.com", + 'support': "apps.support@viindoo.com", + + # Categories can be used to filter modules in modules listing + # Check https://github.com/odoo/odoo/blob/16.0/odoo/addons/base/data/ir_module_category_data.xml + # for the full list + 'category': 'Hidden', + 'version': '0.1', + + # any module necessary for this one to work correctly + 'depends': ['auth_totp_mail'], + + # always loaded + 'data': [ + 'data/mail_template_data.xml', + ], + 'installable': True, + 'application': False, + 'auto_install': True, + 'price': 0.0, + 'currency': 'EUR', + 'license': 'OPL-1', +} + diff --git a/viin_brand_auth_totp_mail/data/mail_template_data.xml b/viin_brand_auth_totp_mail/data/mail_template_data.xml new file mode 100644 index 00000000..e6a5e1b2 --- /dev/null +++ b/viin_brand_auth_totp_mail/data/mail_template_data.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + From 342932818dd54aeb95986388095ae97f59fa717b Mon Sep 17 00:00:00 2001 From: duyquyen96 Date: Fri, 16 Jun 2023 08:06:29 +0700 Subject: [PATCH 2/2] [IMP] viin_brand_auth_totp_mail: fix test pylint --- viin_brand_auth_totp_mail/__manifest__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/viin_brand_auth_totp_mail/__manifest__.py b/viin_brand_auth_totp_mail/__manifest__.py index abb13071..c94dd8dc 100644 --- a/viin_brand_auth_totp_mail/__manifest__.py +++ b/viin_brand_auth_totp_mail/__manifest__.py @@ -60,4 +60,3 @@ 'currency': 'EUR', 'license': 'OPL-1', } -