Friday, May 9, 2025
2 changes · saas-17.4
Resolved issues and error corrections
This fix prevents an invoice-only report option from being applied to sales order reports. It avoids payment post-processing failures after website orders, helping scheduled transaction processing run reliably.
Original PR description
Currently an error occurs during post-processing of a payment transaction. Steps to Reproduce: - Install the `website_sale` module. - Open `Reports > Quotation / Order` and enable the Invoice report…
Currently an error occurs during post-processing of a payment transaction. Steps to Reproduce: - Install the `website_sale` module. - Open `Reports > Quotation / Order` and enable the Invoice report option. - Go to the Website, place an order using the Wire Transfer payment provider. - Open `Scheduled Actions`. - Find and manually run the `Payment: Post-process transactions action`. `MissingError: Record does not exist or has been deleted. (Record: account.move(22,), User: 1)` This issue was generated because the user clicked on the invoice report option on the report Quotation / Order as a result, when we try to print qutation /order it tries to browse the sale.order with id 22 as an account.move. This commit ensures that the is_invoice_report field is only visible when the model is account.move. Additionally, the_is_invoice_report method has been modified to return True only when the model is account.move, thereby preventing a MissingError during scheduled actions. Sentry-6563415103 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error when users apply period comparisons in the Partner Ledger report. It ensures the report query is built correctly, so accounting teams can compare periods without being blocked.
Original PR description
Issue: Syntax error is raised when applying period comparison on partner ledger report. Purpose of this PR: Group queries with the parentheses. Steps to Reproduce in Runbot: install accounting add period comparison to Partner Ledger Report try to apply period comparison Note: revision of saas-17.4 forward port #84950 original: #83652 opw-4730435