Hi there
actually using the default styles in the module "e-Mail-Marketing".
Where can I create my own one? with my CI-CD colors?
thx in advance, Patrik
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
2
الردود
3096
أدوات العرض
and in the odoo UI directly? without code
Hi,
For this you can create a new custom module and add a new email design.
Inherit the mass_mailing.email_designer_snippets and using xpath add new template like this,
<template id="test_template" inherit_id="mass_mailing.email_designer_snippets">
<xpath expr="//div[@data-name='default']" position="after">
<div data-name="test_mass_mail_1"
data-img="/module_name/static/src/img/test"
data-images-info='{"logo": {"format": "png"}}'>
<t t-call="module_name.theme_test"/>
</div>
</xpath>
</template>
Now you have to define the corresponding template,
<template id="theme_test">
<div class="o_layout o_test_mass_mail_theme">
<table class="o_mail_wrapper">
</table>
</div>
</template>
Thanks
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
odoo V17 style Error
تم الحل
|
|
1
مايو 24
|
1552 | |
|
2
فبراير 24
|
8897 | ||
Qweb report style destroyed
تم الحل
|
|
2
يناير 20
|
3098 | |
|
0
مارس 15
|
3875 | ||
|
1
نوفمبر 20
|
6890 |