modifying system email templates

This commit is contained in:
MohamedGad100 2025-12-11 15:02:29 +02:00
parent 27cbf9d1cd
commit 2ab4ef5a3d
5 changed files with 749 additions and 430 deletions

View File

@ -53,7 +53,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>

View File

@ -53,7 +53,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>
]]> ]]>
@ -252,7 +252,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
<a href="${user.company_id.website}">${user.company_id.name}</a> <a href="${user.company_id.website}">${user.company_id.name}</a>
</p> </p>
</div> </div>
@ -326,7 +326,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
<a href="${user.company_id.website}">${user.company_id.name}</a> <a href="${user.company_id.website}">${user.company_id.name}</a>
</p> </p>
</div> </div>
@ -392,7 +392,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
<a href="${user.company_id.website}">${user.company_id.name}</a> <a href="${user.company_id.website}">${user.company_id.name}</a>
</p> </p>
</div> </div>
@ -451,7 +451,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>
]]> ]]>
@ -524,7 +524,7 @@
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
@ -598,7 +598,7 @@
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
@ -672,7 +672,7 @@
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>
]]> ]]>
@ -730,7 +730,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>
]]> ]]>

View File

@ -12,9 +12,9 @@
<!-- Update footer text --> <!-- Update footer text -->
<xpath expr="//div[contains(@style, 'color: #999999')]" position="replace"> <xpath expr="//div[contains(@style, 'color: #999999')]" position="replace">
<div style="color: #999999; text-align: center; direction: rtl;"> <div style="color: #999999; text-align: center;">
<p style="margin: 8px 0; color: #000000; font-weight: bold;"> <p style="margin: 8px 0; color: #000000; font-weight: bold;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;"><t t-esc="company.name"/></span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">أودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;"><t t-esc="company.name"/></span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
<div> <div>
<t t-esc="company.phone"/> <t t-esc="company.phone"/>
@ -46,16 +46,16 @@
<!-- Update footer text "Sent by ... using Odoo" --> <!-- Update footer text "Sent by ... using Odoo" -->
<xpath expr="//p[contains(@style, 'color: #555555')]" position="replace"> <xpath expr="//p[contains(@style, 'color: #555555')]" position="replace">
<p style="color: #000000; margin-top:32px; font-weight: bold; text-align: right; direction: rtl;"> <p style="color: #000000; margin-top:32px; font-weight: bold;">
تم الإرسال بواسطة Sent by
<span t-if="company.name"> <span t-if="company.name">
<a t-if="website_url" t-att-href="website_url" style="text-decoration:none; color: #3F5D7E; font-weight: bold;"> <a t-if="website_url" t-att-href="website_url" style="text-decoration:none; color: #3F5D7E; font-weight: bold;">
<span t-esc="company.name"/> <span t-esc="company.name"/>
</a> </a>
<span t-if="not website_url" style="color: #3F5D7E; font-weight: bold;" t-esc="company.name"/> <span t-if="not website_url" style="color: #3F5D7E; font-weight: bold;" t-esc="company.name"/>
</span> </span>
باستخدام using
<span style="color: #3F5D7E; font-weight: bold;">أودكس</span> <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</xpath> </xpath>
</template> </template>
@ -72,9 +72,9 @@
<!-- Update footer text --> <!-- Update footer text -->
<xpath expr="//div[contains(@style, 'color: #999999')]" position="replace"> <xpath expr="//div[contains(@style, 'color: #999999')]" position="replace">
<div style="color: #999999; text-align: center; direction: rtl;"> <div style="color: #999999; text-align: center;">
<p style="margin: 8px 0; color: #000000; font-weight: bold;"> <p style="margin: 8px 0; color: #000000; font-weight: bold;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;"><t t-esc="company.name"/></span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">أودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;"><t t-esc="company.name"/></span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
<div> <div>
<t t-esc="company.phone"/> <t t-esc="company.phone"/>

View File

@ -49,7 +49,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>
@ -116,7 +116,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>
@ -183,7 +183,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right"> <p style="font-size: 1.1em;text-align: right">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
@ -240,7 +240,7 @@
</a> </a>
</p> </p>
<p style="font-size: 1.1em;text-align: right; color: #3F5D7E;"> <p style="font-size: 1.1em;text-align: right; color: #3F5D7E;">
تم الإرسال بواسطة <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> باستخدام <span style="color: #3F5D7E; font-weight: bold;">اودكس</span> Sent by <span style="color: #3F5D7E; font-weight: bold;">${user.company_id.name}</span> using <span style="color: #3F5D7E; font-weight: bold;">Odex</span>
</p> </p>
</div> </div>

File diff suppressed because it is too large Load Diff