Friday, April 29, 2016
2 changes · master
Enhancements to existing features
Subscription renewals and upsells now identify related sales orders with a dedicated status instead of changing order names. This makes sales orders easier to understand from subscriptions while keeping regular sales views cleaner, with added safeguards for multi-company access.
Original PR description
Task: https://www.odoo.com/web?#id=23803&view_type=form&model=project.task&action=327&menu_id=4720 Pad: https://pad.odoo.com/p/r.739b38c507c57f1b5e63899ff5f1a3aa # # Justification In the Subscription apps, the Renewal and Upsell button generate Sales Orders. In the case of the renewal, the SO is renamed so that it looks like "SO2016/123456 - Renewal", which make it easy to spot it in a list view. For upselling there is no such mechanism yet. Instead of appending suffixes to SOs (which pollutes the view IMHO), we could add a selection field on SOs the would contain the values "Upsell" and "Renewal"; this field would be displayed in the list view of Sales Orders when accessed through a Subscription (when cliking on the Sales stat button) but hidden in other views. This would also allow to remove a boolean field "update contract" that is currently used to wipe contract when a renewal SO is confirmed.
Code cleanup and technical improvements
This update reorganizes and modernizes Odoo's stock management code to support a broader migration to the newer framework. It mainly improves maintainability and consistency across inventory, purchasing, sales, manufacturing, delivery, and point of sale flows, with limited direct business-facing change expected at this stage.
Original PR description
Task: https://www.odoo.com/web#id=13673&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720