You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue where invoice PDFs generated by the scheduled task in the subscription_oca module do not include proper formatting (e.g., no layout). However, when I manually run the task through the "Run Manually" button in Odoo, the PDF is generated correctly with the expected format and layout.
It seems that the context or environment used during the scheduled execution (via cron) is missing some critical information that affects the PDF generation process. This issue may be related to the way the task is handled in the background, possibly missing user context, language settings, or company details, which are normally present when running the task manually.
Any help or guidance on how to resolve this discrepancy would be appreciated.
The text was updated successfully, but these errors were encountered:
#1124 # Module
subscription_oca
Describe the bug
I encountered an issue where invoice PDFs generated by the scheduled task in the subscription_oca module do not include proper formatting (e.g., no layout). However, when I manually run the task through the "Run Manually" button in Odoo, the PDF is generated correctly with the expected format and layout.
It seems that the context or environment used during the scheduled execution (via cron) is missing some critical information that affects the PDF generation process. This issue may be related to the way the task is handled in the background, possibly missing user context, language settings, or company details, which are normally present when running the task manually.
Any help or guidance on how to resolve this discrepancy would be appreciated.
The text was updated successfully, but these errors were encountered: