تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
236 أدوات العرض

I would like to change the look of the button. It is not the Quotation templates under the technical menu. Anyone know where I can find it.



الصورة الرمزية
إهمال

What is the ROI of this change?

الكاتب

Not relevant. 

الكاتب

Thanks for the reply. I just want to change the color of the button.

So, Settings -> General Settings -> Companies -> Email Templates (Header and Footer Color).

الكاتب

Christoph Farnleitner, perfect, thank you

أفضل إجابة

Not a trivial thing to adjust due to the fact that this is a common 'wrapping' template for many mails.

While the template you are looking for should be mail.mail_notification_layout (https://github.com/odoo/odoo/blob/f417f35bcc63ae3177a369e9a11d8f6f63b92a77/addons/mail/data/mail_templates_email_layouts.xml#L23) you need to be aware about the fact that its data - and presence in general - highly depends on additional factors. Just the title text of the button for example is passed on from 

SaleOrder._notify_get_recipients_groups()

 (https://github.com/odoo/odoo/blob/f417f35bcc63ae3177a369e9a11d8f6f63b92a77/addons/sale/models/sale_order.py#L1536)


Note that you may also have limited styling options from Settings -> General Settings -> Companies -> Email Templates (Button Text and Button Color​). 


The Update Mail Layout action here in fact links you to the afore mentioned template as well.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 25
789
2
أغسطس 25
789
0
أغسطس 25
400
2
مايو 25
1389
2
أكتوبر 25
1327