Thursday, April 7, 2022
10 changes · master
Enhancements to existing features
This update lets businesses using Stripe process customer refunds directly from Odoo, reducing the need to switch between systems. It also cleans up the Stripe payment handling code to make future maintenance easier and more reliable.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail app now uses a dedicated autocomplete input view across messaging areas such as chat windows, Discuss, and the messaging menu. This makes the underlying setup more consistent, helping future improvements to recipient or channel suggestions work reliably across the interface.
Original PR description
With all its identifying fields Task-2817076
The website editor's command menu has been visually refreshed and now hides itself when no matching commands are available, avoiding an unnecessary “No results” message. Keyboard navigation through grouped commands has also been corrected, making the editor smoother and more predictable to use.
Original PR description
- When no command is found in the Powerbox, the text "No results" is shown, which is annoying. Instead, this hides the Powerbox, and restores it if needed (on backspace for instance). - This is a general design upgrade for the Powerbox. task-2802749 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how Odoo recognizes and processes Dailymotion and Youku video links in the website editor. It helps ensure the correct video is embedded from supported URL formats, reducing errors when users add videos to pages.
Original PR description
**Current behavior before PR:** The regex patterns for dailymotion and youku were too permissive and not specific enough for the way they were intended to be used. **Desired behavior after PR is merged:** The new regexes should correctly isolate the video ID from the URL string and cover all embedding needs for the two providers. For the initiating discussion and PR, see following link: https://github.com/odoo/odoo/pull/44537#discussion_r753250276 task-2696033
The mail app’s attachment viewer has been improved with clearer controls for closing, downloading, and moving between attachments. This makes reviewing images, videos, and other shared files in conversations smoother and more reliable for users.
Original PR description
Task-2579306
Subscriptions are now managed through sales orders, reducing duplicated processes and making subscription handling more flexible. Businesses can combine different billing periods on one customer record, generate invoices for due lines more accurately, and improve upsell discount handling.
Original PR description
Purpose ======= Migrate subscription to sales order to simplify the code, the UX & make it more flexible for the future and easier to maintain. Subscription still appears as a separate module. This…
Purpose ======= Migrate subscription to sales order to simplify the code, the UX & make it more flexible for the future and easier to maintain. Subscription still appears as a separate module. This PR aims to move the sale.subscription models to sale.order. The implementation is quite similar to the sale_renting module. Before this PR, sale.subscription records are similar to sale.order ones. A lot of logic is duplicated to handle the subscription line computations, tax handling, etc. The current implementation of subscription has several drawbacks: * the sale.subscription records depends on required sale order template. * it is not possible to mix different periodicity in a subscription. Each partner has as many contract as periodicity needed (monthly, yearly etc) * when the flow starts in sale_management, the first invoice must be created from the sale application. * upsell prorata calculation to apply a discount is flawed when the salesman want to apply another discount. This PR fixes these issues and make subscription more flexible. One record can have subscription lines with different periodicity. Each line have a next_invoice_date and invoices are generated when they are due with the matching lines. Before this commit, the sale module could not be used to manage subscriptions in an override. This commit adapts the sale module to odoo/enterprise#21825 Taskid: 2568007
Subscriptions are now managed directly through sales orders, reducing duplicated workflows and making subscription handling more flexible. Businesses can combine different billing periods in one contract and generate invoices only for the lines that are due.
Original PR description
Purpose ======= Migrate subscription to sales order to simplify the code, the UX & make it more flexible for the future and easier to maintain. Subscription still appears as a separate module. This…
Purpose ======= Migrate subscription to sales order to simplify the code, the UX & make it more flexible for the future and easier to maintain. Subscription still appears as a separate module. This PR aims to move the sale.subscription models to sale.order. The implementation is quite similar to the sale_renting module. Before this PR, sale.subscription records are similar to sale.order ones. A lot of logic is duplicated to handle the subscription line computations, tax handling, etc. The current implementation of subscription has several drawbacks: * the sale.subscription records depends on required sale order template. * it is not possible to mix different periodicity in a subscription. Each partner has as many contract as periodicity needed (monthly, yearly etc) * when the flow starts in sale_management, the first invoice must be created from the sale application. * upsell prorata calculation to apply a discount is flawed when the salesman want to apply another discount. This PR fixes these issues and make subscription more flexible. One record can have subscription lines with different periodicity. Each line have a next_invoice_date and invoices are generated when they are due with the matching lines. Taskid: 2568007
The barcode stock screens are easier to use, with clearer product references, completion highlighting, better small-screen keypad spacing, and stock moves shown on the information page. Picking details also now include the chatter, and location-based pages are ordered by location name for more predictable navigation.
Original PR description
- Small UI improvements:
- Add supplier reference in the move line when it exists
- Highlight in green when the quantity done is the amount expected
- Change layout of the digipad to have more space in smaller screens
- Show stock moves in kanban view in the information page
- Add the chatter of the picking in the information page.
- Fix that when locations are activated, pages would not appear in the order of the stock location name but in the order of the index of the location in the db.
Task-ID: 2766631Quarter-based date filters in Documents Spreadsheet now show values like "Q1/2022" instead of "Q1 2022". This makes the format more consistent and easier to read for users working with spreadsheet filters.
Original PR description
Change filter display value from "Q1 2022" to "Q1/2022" Odoo task 2816618
The My Planning shift form now hides the Send and Reset to Draft actions for published shifts, matching the existing behavior for publish-related buttons. This reduces confusion for employees by keeping unavailable or inappropriate shift actions out of their view.
Original PR description
In the planning.slot form view in the "My Planning" menu, we hid the "Publish" and "Publish & Send" buttons in a previous task. However, the buttons "Reset to Draft" and "Send" for published shifts are still visible, which is inconsistent. This commit hides those two buttons in the "My Planning" menu. Related: https://github.com/odoo/enterprise/pull/23423 Task-2818723