Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3219 มุมมอง

I have:

{
    [..]
    'css': ['static/src/css/sales_order_email_collection.css']
}

In my __openerp__.py file, but it doesn't seem to get loaded as part of the website. http://odoo-80.readthedocs.org/en/latest/howtos/web.html doesn't seem to indicate any additional step is needed. What am I doing wrong?

อวตาร
ละทิ้ง

Your code looks perfect.. it should have loaded... or may be because of file name (which is quite long, try to reducing it n check, once it happened to me when i wanted to load jasper file, which had lengthy name...)

If you are using css for template purpose, then you can try loading it in template also..

ผู้เขียน

I did end up using a just to make it work, just doesn't seem like I should have to. BTW the linkedin link in your profile doesn't lead to your profile.

oh is it.. k thanks updated it ...

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ค. 25
9223
1
พ.ค. 25
1449
0
ม.ค. 24
2083
1
ก.พ. 22
24414
Message attachment size limit แก้ไขแล้ว
5
ธ.ค. 21
17066