Hello everyone im a junior odoo dev and ive worked on a custom module that can sent a custom report via mail using cron job and the report can be pdf or exel or the report data will be inside the mail anyways the issue i have is with the pdf report because when testing and triggering manually the cron the pdf report got recieved normal with style but when the cron automaticlly get triggered the report i got is bland i checked the log to see what is going on i found out that when manually triggering the cron there is some css files with code 200 wich means that odoo is using those files for styling the report and he found those files since the code is 200 but when the cron triggered automaticcly the code for those css files is 404 wich means he s not finding em i asked gpt i get as an aswear that when triggering the cron manually we're allready loged in odoo instance so we got acces to files etc (what i think) but when automatic cron happend we're not loged in so we can't use the files we need so if anyone kan hellp with that problem leave a responce .
Thanks 😊
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ờ
84
Lượt xem
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 | |
---|---|---|---|---|
|
4
thg 3 24
|
13736 | ||
|
0
thg 6 25
|
575 | ||
|
0
thg 8 21
|
0 | ||
|
0
thg 8 21
|
0 | ||
|
3
thg 1 20
|
7011 |