Server IP : 127.0.0.2 / Your IP : 18.116.36.23 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/addons/auth_signup/data/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <data noupdate="1"> <!-- Default template user for new users signing in --> <record id="default_template_user" model="res.users"> <field name="name">Template User</field> <field name="login">portaltemplate</field> <field name="active" eval="False"/> <!-- Avoid auto-including this user in any default group, just like a typical portal member --> <field name="groups_id" eval="[(6, 0, [ref('base.group_portal')])]"/> </record> <record id="default_template_user_config" model="ir.config_parameter"> <field name="key">auth_signup.template_user_id</field> <field name="value" ref="default_template_user"/> </record> <!-- Email template for reset password --> <record id="reset_password_email" model="mail.template"> <field name="name">Auth Signup: Reset Password</field> <field name="model_id" ref="base.model_res_users"/> <field name="email_from"><![CDATA["${object.company_id.name|safe}" <${(object.company_id.email or user.email)|safe}>]]></field> <field name="email_to">${object.email|safe}</field> <field name="subject">Password reset</field> <field name="body_html"><![CDATA[ <div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777"> <table cellspacing="0" cellpadding="0" style="width:600px;border-collapse:collapse;background:inherit;color:inherit"> <tbody><tr> <td valign="center" width="200" style="padding:10px 10px 10px 5px;font-size: 12px"> <img src="/logo.png" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${user.company_id.name}"> </td> </tr></tbody> </table> </div> <div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777"> <p>Dear ${object.name},</p> <p>A password reset was requested for the Odoo account linked to this email.</p> <p>You may change your password by following this link which will remain valid during 24 hours:</p> <div style="text-align: center; margin-top: 16px;"> <a href="${object.signup_url}" style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">Change password</a> </div> <p>If you do not expect this, you can safely ignore this email.</p> <p>Best regards,</p> </div> <div style="padding:0px;width:600px;margin:auto; margin-top: 10px; background: #fff repeat top /100%;color:#777777"> ${user.signature | safe} <p style="font-size: 11px; margin-top: 10px;"> <strong>Sent by ${user.company_id.name} using <a href="www.odoo.com" style="text-decoration:none; color: #875A7B;">Odoo</a></strong> </p> </div>]]></field> <field name="user_signature" eval="False"/> </record> <!-- Email template for new users --> <record id="set_password_email" model="mail.template"> <field name="name">Auth Signup: Odoo Connection</field> <field name="model_id" ref="base.model_res_users"/> <field name="email_from"><![CDATA["${object.company_id.name|safe}" <${(object.company_id.email or user.email)|safe}>]]></field> <field name="email_to">${object.email|safe}</field> <field name="subject"><![CDATA[${object.company_id.name} invitation to connect on Odoo]]></field> <field name="body_html"><![CDATA[ <div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777"> <table cellspacing="0" cellpadding="0" style="width:600px;border-collapse:collapse;background:inherit;color:inherit"> <tbody><tr> <td valign="center" width="200" style="padding:10px 10px 10px 5px;font-size: 12px"> <img src="/logo.png" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${user.company_id.name}"> </td> </tr></tbody> </table> </div> <div style="padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777"> <p>Dear ${object.name},</p> <p> You have been invited to connect to "${object.company_id.name}" in order to get access to your documents in Odoo. </p> <p> To accept the invitation, click on the following link: </p> <div style="text-align: center; margin-top: 16px;"> <a href="${object.signup_url}" style="padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px">Accept invitation to "${object.company_id.name}"</a> </div> <p>Best regards,</p> </div> <div style="padding:0px;width:600px;margin:auto; margin-top: 10px; background: #fff repeat top /100%;color:#777777"> ${user.signature | safe} <p style="font-size: 11px; margin-top: 10px;"> <strong>Sent by ${user.company_id.name} using <a href="www.odoo.com" style="text-decoration:none; color: #875A7B;">Odoo</a></strong> </p> </div>]]></field> <field name="user_signature" eval="False"/> </record> </data> </odoo>