İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
5912 Görünümler

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.

Avatar
Vazgeç
Üretici En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
4272
1
May 22
26151
Form Sheet width Çözüldü
8
May 16
33937
1
Mar 15
17765
1
Mar 15
9450