Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký