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

I am looking to increase the logo size in our delivery slip reports generated by Odoo. I was able to figure out how to change the logo size but the header is too small for the logo to be the size that is desired. Is there a way to go in an adjust the height of the header to allow for the logo to become larger? I am working in Odoo version 11 enterprise edition in developer mode.

As it is in under settings>general settings>Document Template>Edit Header I edited the following line by adding what is in bold

<img t-if="company.logo" width="200" height="200" t-att-src="'data:image/png;base64,%s' % to_text(company.logo)"/>

Editing the height and width anymore just makes the logo get a little wider on the delivery slip up until a max size from what I have noticed through trial and error.

الصورة الرمزية
إهمال
الكاتب

Thanks, this is very helpful!

أفضل إجابة

Hi Kelton, 

I'm currently using the v13, but I think it might be the same for v11.
Please, try to follow the steps below:

Settings -> Technical -> Reporting -> Paper Format -> "Select the paper format that you are current using" (Usually A4)
And then set the Header spacing field as you wish.

Let me know if it worked. 

Regards, 

Eduardo


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 22
4076
2
يونيو 21
3466
1
ديسمبر 17
5260
3
يناير 16
25601
2
سبتمبر 21
10674