Daily updates from Odoo
Thursday, December 8, 2022
4 changes · master
Enhancements to existing features
Subscription health rules and renewal timing are now managed through subscription alerts instead of templates or a fixed scheduled job. This gives businesses clearer, more flexible control over how contract health is assessed and when subscriptions are marked for renewal, including subscriptions without templates.
Original PR description
Before this commit, the health value of an order was determined by the template health domains. It would prevent subscription without template to have "bad" or "good" health value. Moreover it was not logical to keep these definition there. A cron job was setting the subscriptions to renew one month before their end date. This logic has been moved to subscription alerts to bring more control to the users. taskid: 2831415
Spreadsheet-related views have been updated to work with the latest spreadsheet engine and support inserting images. This improves spreadsheet editing in Documents and Dashboards by enabling richer visual content directly inside sheets.
Original PR description
adapt code for o-spreadsheet latest version. See community PR https://github.com/odoo/odoo/pull/107372
Resolved issues and error corrections
When a subscription is closed, any remaining billable items are now included in the final invoice. This helps businesses collect the full amount owed and reduces missed revenue at the end of a subscription.
Original PR description
Pay what is left at the end of a subscription
The subscription MRR stat button now always shows the monthly recurring revenue the subscription would have when active, even after it is closed. Closing events are still logged for reporting and analysis, preserving business insight while making the displayed value easier to understand.
Original PR description
This commit change the behaviour of the MRR stat button. The value shown on the stat button always represent the MRR of the subscription if it was active. Nonetheless, we still create MRR log for the closing of the subs for analytical purposes. task-id : 3095564