Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
29951 มุมมอง

can we change the default odoo image (odoo logo) that shows up by default whenever a new database is created? If yes, then how? I tried searching for the logo image in the database but couldn't locate it..I tried changing and removing the logo files too..but it isn't working. How should i do it?

อวตาร
ละทิ้ง
ผู้เขียน

I am using odoo 9.

คำตอบที่ดีที่สุด

If you want to change the logo automatically while creating new database, you have to edit the core modules.

But the better way is create a new module and install after creating database.
(Manually uploading logo is best way.)

You try to replace

odoo-10.0-20170504/odoo/addons/base/static/img/main_partner-image.png

Clean browser storage if not changed.

 Thanks !  
       

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Richa,

The current binary field of logo in res.company is a related field. Try editing the current code and give that field a default logo

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hello Mr Amal,
I didn't quite get that.. can you please elaborate? where can I find the current binary field and where do I have to edit the code?
Sorry.. I am new to odoo!

อวตาร
ละทิ้ง

do you want to change logo for all database or particular only one database.?

or do you want to change logo from database manager?

ผู้เขียน

change image for all the databases. As, whenever I would create a new one, the default logo should be the one I want.

It is available in addons/ base/ res/ res_company.py

You can also follow Shameem's method. It will work

ผู้เขียน

Okay..I will do that..Thanks :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 16
2002
2
ส.ค. 25
7807
1
พ.ค. 18
12902
Images do not appear in received email แก้ไขแล้ว
2
ก.ย. 21
14651
1
พ.ย. 17
3908