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.

1

How to make a form more wide?

By
Holger Winkelmann
on 3/23/13, 8:54 AM 1,214 views

Is there a technical configuration option to make a form, i.e. order line entry, wider? There is a lot of scree estate wasted and the line items are getting really short for longer product names.

0
semah
On 11/6/13, 9:47 AM

You can find how to convert SASS to CSS : www.vionblog.com/modify-openerp-7-web-client-style/

0
Holger Winkelmann
On 6/29/13, 6:15 PM

There is variable $sheet-max-width in the base.sass of /web. BUt Dont know how to recompile the CSS from the sass

0
Subhin P V
On 11/7/13, 9:43 AM

One Simple Way is To add a Div to your whole Form view. For Eg:

let this be a form view..

<form string="Export Data" version="7.0" >
*** form Contents***
</form>

you could add a Div as shown below

 <form string="Export Data" version="7.0" >
      <div style="width: 300px;">

        *** form Contents***

       </div>
    </form>

After this restart the server and view your form view. U will see the difference. Then change the value from 300px to some 1500px and restart the server and view the form again. And See the differnce

NB: After making changes in the xml you also need to upgrade the module.

Subhin P V
on 11/7/13, 9:45 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

1 follower(s)

Stats

Asked: 3/23/13, 8:54 AM
Seen: 1214 times
Last updated: 3/16/15, 8:10 AM