Odoo Help


How to display text across width of form

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

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


<div class="oe_title oe_left">   


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


                            <field name="code"/>

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



Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
| 7 7 9
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe)
On 7/5/16, 9:24 PM

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.


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)


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