I am working in qweb report but Now I can not call the css style ?
please help me how can i call css style?
thank you so much
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am working in qweb report but Now I can not call the css style ?
please help me how can i call css style?
thank you so much
create a css file in your_module/static/css/your_file.css.
your_file.css:
.back_ground {
background: #e74c3c;
}
In __openerp.py__ file:
'css': ['static/src/css/your_file.css'],
Call it In your xml file:
<p class="back_ground">Test</p>
I trying this code but still not work with Qweb report please give me hint about this issue
@Vasanth gave you good answer, but if you work in version 8.0 then you may find helpful this answer as adding of css/js files is a bit different in v8.
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to get company name in qweb report?
Diselesaikan
|
|
1
Apr 22
|
22329 | |
|
4
Mei 16
|
7551 | ||
|
0
Mar 15
|
3098 | ||
where I can put paper format in Qweb odoo8?
Diselesaikan
|
|
1
Mar 15
|
3657 | |
How to give users access right on qweb report?
Diselesaikan
|
|
1
Mar 15
|
7458 |