Odoo Help

0

How to display text across width of form

By
Luigi Sison
on 7/5/16, 12:29 PM 432 views

I want the field "definition" to display across the width of the form. Currently, it displays in half of the width.


Code:

<div class="oe_title oe_left">   

                            <h1> 

                                <field name="name" default_focus="1" placeholder="Name (e.g., subject)"/>

                            </h1>  

                            <field name="code"/>

                            <field name="definition" placeholder="Definition"/>  

                        </div>

0

There is not a lot of context to your question (version, view, screenshot) but did you try to add a colspan argument? Try with 2 or 4.

<field name="definition" placeholder="Definition" colspan="4"/>

More information on views and particularly structural components of form views can be found in the technical documentation: https://www.odoo.com/documentation/9.0/reference/views.html#structural-components

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/5/16, 12:29 PM
Seen: 432 times
Last updated: 7/5/16, 9:24 PM