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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
115
Görünümler
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
4
Mar 24
|
13743 | ||
|
0
Haz 25
|
575 | ||
|
0
Ağu 21
|
0 | ||
|
0
Ağu 21
|
0 | ||
|
3
Oca 20
|
7015 |