Hello guys, I'am new in OpenERP and I created a form. Then i want change the style of some fields: color, background-color, font. I seriously need your help. Thanks in advance
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ờ
2
Trả lời
20939
Lượt xem
I normally use a new css file in my custom module to do the changes needed for CSS
ORIGINAL style @ base.css .openerp .oe_form_sheet_width { min-width: 650px; max-width: 860px; margin: 0 auto; }
In base.css, I had to change the max-width style from 860px to 1200px. So, I did the following
OVERWRITE style @ my_custom.css .openerp .oe_form_sheet_width { max-width: 1200px !important; }
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ýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
How to change LINK COLOR
Đã xử lý
|
|
3
thg 10 15
|
9350 | |
|
1
thg 7 24
|
1947 | ||
|
1
thg 7 24
|
1963 | ||
|
1
thg 12 22
|
2718 | ||
|
6
thg 1 19
|
9416 |
Hi, There are two ways to change the style of fields in from The first way is change in the main css file that is base.css.Go to web module of Openerp OpenERP 7.0-20150326\server\openerp\addons\web\static\src\css\base.css The second way is creating your own css file and add into your customized module like OpenERP 7.0-20150326\server\openerp\addons\your _module\static\src\css\test.css
Hi ankita, Overriding the main file is not a proper way to do, it's not recommended. Only your second tips is correct, using a custom css. @daouda dont forget to add it in your manifest for the V7 or includ it in your template (V8). regards