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

How to override the default size of wizard form when prompted?

By
Abegail Sanchez
on 3/7/15, 10:25 AM 533 views

How to maximize wizaed form with target = new?

2

Vasanth

--Vasanth--
3458
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 3/9/15, 1:48 AM

Hi Abegail,

you can change the size of a wizard by following way:

For example:

<record id="..........." model="ir.ui.view">
            <field name="name">.............</field>
            <field name="model">...........</field>
            <field name="arch" type="xml">
                <form string="....." version="7.0">
                <sheet>
                    <script>
                            $(document).ready(function(){
                            $('.ui-dialog').css({'width': '680px'});
                            $('.oe_form_sheet_width').css({'MAXwidth': '550px'});
                            });
                    </script>

                     ----------------

                      ----------------
                    </sheet>
                </form>
            </field>
        </record>

 

try this.All the best!!!!!

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

1 follower(s)

Stats

Asked: 3/7/15, 10:25 AM
Seen: 533 times
Last updated: 3/16/15, 8:10 AM