Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Inkscape SVGs not working in Odoo 9

By
chris2409
on 6/17/16, 11:51 AM 288 views

 At the moment i am trying to get my Inkscape made company logo into my module based website (Odoo 9). To do so, i paste the i paste the SVG-code into the xml-code as it is displayed in the integrated HTML-editor. It seems that Odoo doesn't like Inkscape SVGs, even if they are saved as 'ordinary' SVGs and not 'Inkscape SVGs'. Whenever i try to save changes, odoo refuses to save them!

Interestingly all my svgs work in the w3schools and codepen.io editors with no trouble.

On the other hand, if i paste standard SVGs with no Inkscape related elements into the code of my website everything works!

Any help/suggestions on this is appreciated!!

1
Julian Robbins
On 6/18/16, 2:30 PM

I may be wrong, but I always thoughts odoo only allowed bitmaps, such as jpeg, gif or png files. The use of svg files (although they're great) isnt usually allowed in most similar web applications.

If you just export your Inkscape logo to png at a size you require this should work fine

0
chris2409
On 6/19/16, 1:53 AM

Thanks Julian, but it still doesn't explain why SVGs that don't come from Inkscape work pretty well in Odoo!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 6/17/16, 11:51 AM
Seen: 288 times
Last updated: 6/21/16, 4:05 AM