Heello everybody!!
Need an answer please.
Why doesnt it change anything when i add a css file and call it like this in the xml file:
<link rel="stylesheet" href="/module_namel/static/src/css/file_name.css" />
Help pleaase
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Heello everybody!!
Need an answer please.
Why doesnt it change anything when i add a css file and call it like this in the xml file:
<link rel="stylesheet" href="/module_namel/static/src/css/file_name.css" />
Help pleaase
Hi,
below this code is helpful for you.
#view
file:
<template
id="my_assets_id" name="website assets for my module"
inherit_id="website.theme">
<xpath
expr="." position="inside">
<link
rel="stylesheet"
href="/website_my_module/static/src/css/my.css"/>
</xpath>
</template>
# __openerp__.py{'name': "CSS Example",'description': "new css example",'category': 'Generic Modules/Others','depends': ['web'],'data': [],'css': ['static/src/css/my_css.css'],}
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 | |
|---|---|---|---|---|
|
0
thg 12 20
|
7147 | |||
|
CSS file doesn´t load in template
Đã xử lý
|
2
thg 5 20
|
8175 | ||
|
0
thg 6 18
|
6277 | |||
|
0
thg 9 17
|
5519 | |||
|
0
thg 7 15
|
7510 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
need to be added in an asset. and update the module to refresh the view.