Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
Hello Bikram Karki,
You can follow below steps for adding custom height and width on sheet:
1)Prepare your custom filename.less file in /custom_app/static/src/css path. Put this code in your customfilename.less
.o_form_view{
.o_form_sheet_bg .o_form_sheet{
margin: @padding-base-horizontal;
max-width: none;
width: auto;
}
.oe_chatter{
max-width: none;
}
}
2)Inherit web.assets_backend template in your custom view/viewfilename.xml
<template id="assets_backend" name="web_sheet_height_width" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/custom_app/static/src/css/customfilename.less"/>
</xpath>
</template>
3)In custom_app ‘s __manifest__.py file
…
“data” : [ “view/viewfilename.xml” , ]…
I hope this will help you.
Thanks!
Hi, i would like to increase the height.
Could you please help me with this.
Hello Bikram Karki,
Please refer this link. I hope this will help you.
https://www.odoo.com/forum/help-1/question/form-sheet-width-7397
Thanks
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden