diff --git a/viin_brand_portal/__manifest__.py b/viin_brand_portal/__manifest__.py index cd33564d..54900186 100644 --- a/viin_brand_portal/__manifest__.py +++ b/viin_brand_portal/__manifest__.py @@ -46,6 +46,7 @@ # always loaded 'data': [ 'views/portal_templates.xml', + 'data/mail_template_data.xml', ], 'installable': True, 'application': False, diff --git a/viin_brand_portal/data/mail_template_data.xml b/viin_brand_portal/data/mail_template_data.xml new file mode 100644 index 00000000..6c7c7d8c --- /dev/null +++ b/viin_brand_portal/data/mail_template_data.xml @@ -0,0 +1,91 @@ + + + + + + Portal: User Invite + + Your account at {{ object.user_id.company_id.name }} + {{ object.user_id.email_formatted }} + Invitation email to contacts to create a user account + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+ Your Account
+ Marc Demo +
+ +
+
+
+
+ + + +
+
+ Dear Marc Demo,

+ Welcome to YourCompany's Portal!

+ An account has been created for you with the following login: demo

+ Click on the button below to pick a password and activate your account. + + Welcome to our company's portal. +
+
+
+
+
+ + + +
+ YourCompany +
+ +1 650-123-4567 + + | info@yourcompany.com + + + | http://www.example.com + +
+
+
+ + +
+ Powered by Viindoo +
+
+
+ {{ object.partner_id.lang }} + +
+
+
diff --git a/viin_brand_portal/i18n/vi_VN.po b/viin_brand_portal/i18n/vi_VN.po new file mode 100644 index 00000000..371ad690 --- /dev/null +++ b/viin_brand_portal/i18n/vi_VN.po @@ -0,0 +1,181 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * viin_brand_portal +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-19 07:51+0000\n" +"PO-Revision-Date: 2023-06-19 07:51+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: portal +#: model:mail.template,body_html:portal.mail_template_data_portal_welcome +msgid "" +"\n" +"\n" +"\n" +"
\n" +"\n" +"\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +" Your Account
\n" +" Marc Demo\n" +"
\n" +" \n" +"
\n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +"
\n" +" Dear Marc Demo,

\n" +" Welcome to YourCompany's Portal!

\n" +" An account has been created for you with the following login: demo

\n" +" Click on the button below to pick a password and activate your account.\n" +" \n" +" Welcome to our company's portal.\n" +"
\n" +"
\n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +" YourCompany\n" +"
\n" +" +1 650-123-4567\n" +" \n" +" | info@yourcompany.com\n" +" \n" +" \n" +" | http://www.example.com\n" +" \n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +"
\n" +" Powered by Viindoo\n" +"
\n" +"
\n" +" " +msgstr "" +"\n" +"\n" +"\n" +"
\n" +"\n" +"\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +" Your Account
\n" +" Marc Demo\n" +"
\n" +" \n" +"
\n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +"
\n" +" Thân gửi Marc Demo,

\n" +" Chào mừng bạn đến với cổng thông tin YourCompany!

\n" +" Một tài khoản đã được tạo cho bạn với thông tin đăng nhập sau: demo

\n" +" Nhấp vào nút bên dưới để chọn mật khẩu và kích hoạt tài khoản của bạn.\n" +" \n" +" Chào mừng đến với cổng thông tin của công ty chúng tôi.\n" +"
\n" +"
\n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +" YourCompany\n" +"
\n" +" +1 650-123-4567\n" +" \n" +" | info@yourcompany.com\n" +" \n" +" \n" +" | http://www.example.com\n" +" \n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +"
\n" +" Cung cấp bởi Viindoo\n" +"
\n" +"
\n" +" " + +#. module: portal +#: model:mail.template,description:portal.mail_template_data_portal_welcome +msgid "Invitation email to contacts to create a user account" +msgstr "Email mời đến danh bạ để tạo tài khoản người dùng" + +#. module: portal +#: model:mail.template,subject:portal.mail_template_data_portal_welcome +msgid "Your account at {{ object.user_id.company_id.name }}" +msgstr "Tài khoản của bạn tại {{ object.user_id.company_id.name }}" diff --git a/viin_brand_portal/i18n/viin_brand_portal.pot b/viin_brand_portal/i18n/viin_brand_portal.pot new file mode 100644 index 00000000..39649334 --- /dev/null +++ b/viin_brand_portal/i18n/viin_brand_portal.pot @@ -0,0 +1,106 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * viin_brand_portal +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-19 07:50+0000\n" +"PO-Revision-Date: 2023-06-19 07:50+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: portal +#: model:mail.template,body_html:portal.mail_template_data_portal_welcome +msgid "" +"\n" +"\n" +"\n" +"
\n" +"\n" +"\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +" Your Account
\n" +" Marc Demo\n" +"
\n" +" \n" +"
\n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +"
\n" +" Dear Marc Demo,

\n" +" Welcome to YourCompany's Portal!

\n" +" An account has been created for you with the following login: demo

\n" +" Click on the button below to pick a password and activate your account.\n" +" \n" +" Welcome to our company's portal.\n" +"
\n" +"
\n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +" \n" +"
\n" +" YourCompany\n" +"
\n" +" +1 650-123-4567\n" +" \n" +" | info@yourcompany.com\n" +" \n" +" \n" +" | http://www.example.com\n" +" \n" +"
\n" +"
\n" +"
\n" +" \n" +" \n" +"
\n" +" Powered by Viindoo\n" +"
\n" +"
\n" +" " +msgstr "" + +#. module: portal +#: model:mail.template,description:portal.mail_template_data_portal_welcome +msgid "Invitation email to contacts to create a user account" +msgstr "" + +#. module: portal +#: model:mail.template,subject:portal.mail_template_data_portal_welcome +msgid "Your account at {{ object.user_id.company_id.name }}" +msgstr ""