Currently,I am working on a project where multiple databases are running with the help of same addons(single addons).I want to know how can only one of them will show my css changes and not all.I mean I need to change colour of some screens but only to my intended database and not all.
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ờ
Probably the easiest way would be to put all your CSS definitions into a separate module and then install that module only in certain databases.
- Create a new module
- Put your css file into
newmodule/static/src/css/style.css
- Put the following into your __openerp__.py:
'css': ['static/src/css/style.css'],
,
Now install this module to the database of your choice. It will apply all the CSS rules that you have defined in your style.css file, but only to that particular database, not others that you may have.
Thanks for your valuable feedback.Can you please elaborate further in detail?
Please see the updated answer.
Yeah...........thanks a lot.......his is what I was looking for. Thanks once again
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 | |
---|---|---|---|---|
|
2
thg 3 15
|
10892 | ||
|
1
thg 6 25
|
3005 | ||
|
3
thg 3 15
|
11081 | ||
|
1
thg 10 24
|
1088 | ||
|
1
thg 6 24
|
2550 |