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

6.1 Warning dialog width is always 300px

By
Grahame Jordan
on 6/4/13, 4:58 AM 966 views

Hi,

When a warning dialogs are created they are always 300px wide. This is awful. I have tried in the js and css to set the dialog width to auto which works in some cases but not when spawned from a Window.

Where are the warning dialogs generated in js/xml?

Thanks

The width is determined in web/6.1/addons/web/static/lib/jquery.ui/js/jquery-ui-1.8.17.custom.min.js as 300. Changing this to 600 can help a little but it is still a static value. However there should be some other way of controlling the width of dialogs but this alludes me.

Grahame Jordan
on 6/25/13, 1:31 AM

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

0 follower(s)

Stats

Asked: 6/4/13, 4:58 AM
Seen: 966 times
Last updated: 3/16/15, 8:10 AM