Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up