Thursday, June 4, 2026
2 changes · 17.0
Resolved issues and error corrections
This update fixes an issue where project profitability reports were inaccurate when vendor bills included negative subtotals (like downpayments). The system now correctly considers these negative amounts, ensuring accurate cost calculations for projects with complex billing arrangements. This improves the reliability of project financial reporting.
Original PR description
**Problem:** If a vendor bill associated with a project through its analytic distribution has lines with negative subtotals, those lines are not considered in the project profitability report. An…
**Problem:** If a vendor bill associated with a project through its analytic distribution has lines with negative subtotals, those lines are not considered in the project profitability report. An example use case is a downpayment invoice, followed by a final invoice with the downpayment amount deducted. **Steps to Reproduce:** - Ensure project_purchase is not installed - Create a new project with "Billable" enabled - Go to the project settings and create an analytic account - Create and post a vendor bill with a line labeled "downpayment", the analytic account set, and a unit price of 5 - Duplicate the vendor bill, set the "downpayment" line unit price to -5, add a line labeled "product" with the analytic account set and a unit price of 10, and post the bill -> Go to the project updates and see that the vendor bill costs is wrong (15) **Solution:** A similar bug affecting customer invoices was resolved in PR #130992. AMLs with non-zero subtotals should be considered, so the domain is adjusted accordingly. opw-6172523
This update ensures that Odoo's yearly recurring events are properly synchronized with Microsoft Graph. Previously, a technical issue caused updates to these events to be silently dropped, resulting in incorrect scheduling. The fix includes adding the required 'month' field to recurrence patterns and extending support for the 'index' field, ensuring accurate yearly event updates.
Original PR description
Microsoft Graph requires the 'month' field (1-12) in recurrencePattern for absoluteYearly and relativeYearly event types. Omitting it causes a 400 ErrorInvalidRequest from Graph, silently dropping any Odoo-side update to a yearly recurring event. Also extend the 'index' field (relative weekday position) to yearly recurrences, which previously only set it for monthly ones.