0

Good day, How can I prevent this overflow in tree tag enter image description here

Below is my page line code

<notebook>
    <page name="inc_produt_line" string="Insurance Lines">
        <group>
            <field name="inc_line_ids" nolabel="1">
                <tree string="Insurance" editable="bottom">
                    <field name="product_id"/>
                    <field name="name" required="1"/>
            </field>
    </page>
</notebook>
Abraham Kalungi
  • 45
  • 1
  • 10

1 Answers1

0

In your custom module, add this to the style (css) file.

Add this:

.table-responsive {
    overflow-x: auto;
}

To test it first you can right click your form and click "Inspect", then look for the div with class="table-responsive". The table should now fit into the parent div with a scroll bar underneath.

enter image description here

Scott
  • 102
  • 7