diff --git a/fusion_whitelabels/data/fusion_whitelabels_mail_templates.xml b/fusion_whitelabels/data/fusion_whitelabels_mail_templates.xml new file mode 100644 index 00000000..40a46ddd --- /dev/null +++ b/fusion_whitelabels/data/fusion_whitelabels_mail_templates.xml @@ -0,0 +1,258 @@ + + + + + + {{ object.create_uid.name }} from {{ object.company_id.name }} invites you to your account + + +
+ + + + + + + + + + + + + + + +
+ + + +
+ Welcome to YourCompany
+ + Marc Demo + +
+ +
+
+
+
+ + + +
+
+ Dear Marc Demo,

+ You have been invited by Admin at YourCompany to access your account. + + This link will remain valid for days.
+ + Sign-in URL: https://yourcompany.com
+ Your sign-in email: user@example.com

+ Welcome aboard!
+ --
The YourCompany Team +
+
+
+
+
+ + + +
+ YourCompany +
+ +1 650-123-4567 + + | info@yourcompany.com + + + | http://www.example.com + +
+
+
+
+
+ + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+ Your Account
+ + Marc Demo + +
+ +
+
+
+
+ + + +
+
+ Dear Marc Demo,

+ Your account has been successfully created!
+ Your login is mark.brown23@example.com
+ To gain access to your account, you can use the following link: + + Thanks,
+ +
+
--
Mitchell Admin
+
+
+
+
+
+
+ + + +
+ YourCompany +
+ +1 650-123-4567 + + | info@yourcompany.com + + + | http://www.example.com + +
+
+
+
+
+ + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + +
+ 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 + +
+
+
+
+
+
+
diff --git a/fusion_whitelabels/migrations/19.0.1.6.1/post-migration.py b/fusion_whitelabels/migrations/19.0.1.6.1/post-migration.py new file mode 100644 index 00000000..38e18239 --- /dev/null +++ b/fusion_whitelabels/migrations/19.0.1.6.1/post-migration.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +from odoo import api, SUPERUSER_ID + +from odoo.addons.fusion_whitelabels import _apply_mail_overrides + + +def migrate(cr, version): + env = api.Environment(cr, SUPERUSER_ID, {}) + _apply_mail_overrides(env)