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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
114
Widoki
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
4
mar 24
|
13743 | ||
|
0
cze 25
|
575 | ||
|
0
sie 21
|
0 | ||
|
0
sie 21
|
0 | ||
Odoo 12, Css not applied to qweb reports
Rozwiązane
|
|
3
sty 20
|
7015 |