Merge branch 'pawan_branch' into 'development'
Pawan branch See merge request prakash.jain/cor-odoo!164
This commit is contained in:
commit
f97393f2e4
|
@ -19,5 +19,33 @@
|
|||
</data>
|
||||
</template>
|
||||
|
||||
<!-- Override Discuss utility templates for notifications -->
|
||||
|
||||
<template id="mail.message_user_assigned">
|
||||
<p style="margin: 0px;">
|
||||
<span>Dear <t t-esc="object.user_id.sudo().name"/>,</span><br />
|
||||
<br/>
|
||||
<t t-if="model_description or 'document' == 'Task'">
|
||||
<span style="margin-top: 8px;">You have been assigned to the
|
||||
<t t-esc="model_description or 'document'"/>
|
||||
<t t-esc="object.display_name"/> (Project :<t t-esc="object.project_id.name"/>).
|
||||
</span>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<span style="margin-top: 8px;">You have been assigned to the
|
||||
<t t-esc="model_description or 'document'"/>
|
||||
<t t-esc="object.display_name"/>.
|
||||
</span>
|
||||
</t>
|
||||
</p>
|
||||
<p style="margin-top: 24px; margin-bottom: 16px;">
|
||||
<a t-att-href="access_link" t-att-data-oe-model="object._name" t-att-data-oe-id="object.id"
|
||||
style="background-color:#875A7B; padding: 10px; text-decoration: none; color: #fff; border-radius: 5px;">
|
||||
View
|
||||
<t t-esc="model_description or 'document'"/>
|
||||
</a>
|
||||
</p>
|
||||
</template>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
@ -8,4 +8,4 @@ from . import project_overview
|
|||
from . import analytic
|
||||
from . import product
|
||||
from . import hr_employee
|
||||
from . import sale
|
||||
from . import sale
|
Loading…
Reference in New Issue