Daily updates from Odoo
Thursday, November 7, 2019
9 changes · master
Enhancements to existing features
Mass mailing and SMS templates now get the same dynamic placeholder helper already available for email templates. This makes it easier for users to personalize campaigns consistently while reducing duplicated code behind the scenes.
Original PR description
Add a page with the dynamic placeholder generator just as it already exists on mail.templates. TASK-ID : 2070612 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale can now postpone stock picking creation until the session is closed, instead of creating one for every order during synchronization. This should make syncing large batches of POS orders faster, while businesses that need real-time stock updates can still enable per-order picking creation.
Original PR description
When you have a lot of pos order to synchronize with Odoo, it may take a lot of time because it has to create a picking for each order. So we've added an option in the settings that will create the picking at the end of the session. So the new option by default is creating the picking at session closure, and if you need a real time stock you can enable the creation of picking for each order. TASK-ID: 2082064 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
Mobile Kanban views now load all columns upfront instead of waiting until users swipe to each one. This reduces repeated loading delays and makes moving between columns feel faster and more seamless, especially on mobile devices.
Original PR description
We remove the lazy loading currently used by the mobile kanban to avoid the poor user experience given by the kanban navigation tabs with given multiple waiting due to multiple loading time. Task ID: 1896614
When an existing task is linked under a parent task, Odoo now keeps key details already set on the child task instead of silently replacing them with the parent's values. Parent task values such as customer, contact email, project, and sales order line are only copied when the child task does not already have them, reducing confusion and preserving user-entered information.
Original PR description
Purpose ======= When you create a task independently and link it to a Parent task later on, several changes are applied: the person assigned on the sub-task switches to the one set on the parent…
Purpose ======= When you create a task independently and link it to a Parent task later on, several changes are applied: the person assigned on the sub-task switches to the one set on the parent task, same for the customer, and so on. This creates frustration because the user most likely set specific data on the sub task for a reason. In addition, the changes are made implicitely, so the user might not notice it or get confused as to what changed from the original task. Specification ============= Values for fields `partner_id`, `email_from`, `sale_line_id` should be transfered from parent task to children task, only if the value is not already set on the child. This was already partially implemented by 749810a and 45396f7. But to achieve it, similar code was duplicated in several methods: default_get, onchanges, write, create. Since the new ORM, the same behavior can be achieved with only computed fields with store=True and readonly=False. This commit changes the previous implementation to take advantage of this which greatly improves code readability and maintainability. Tests by Maximilen Larue Business code by Lucas Lefèvre Co-authored-by: MaxLarue <mla@odoo.com> -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sales teams can now cancel confirmed sales orders even when products have already been delivered or invoices have been created. The update also cancels remaining deliveries and draft invoices, helping keep orders, deliveries, and billing aligned when a sale is reversed.
Original PR description
task - https://www.odoo.com/web#id=1919761&action=327&model=project.task&view_type=form&menu_id=4720 pad - https://pad.odoo.com/p/r.ccd8c8f09e90b22b4ccd660d31d7e3f4
The website form builder is easier and safer to use, with better keyboard focus in dialogs, clearer radio and checkbox layouts, and a warning before changes that could remove existing fields. Users can also add email fields and new fields now better match the existing form design automatically.
Original PR description
Note: the form builder will be refactored in a deeper way in a next update. See sub-commits for details. task-1874350 Thanks to @dbh-odoo @pna-odoo and @dja-odoo for the work on this task.
Helpdesk now opens related after-sales records in the most suitable view depending on how many items are available, making navigation clearer. It also hides unavailable related information from users without the right access and improves how credit note or reversal lines stay connected to helpdesk tickets.
The helpdesk website form editor has been updated to make creating and customizing contact forms easier. Users can now better arrange form fields and see editing options in the right places, reducing friction when building forms.
Original PR description
Ease the creation and customization of contact forms. Improve things like: - selection field UI issue, - the new field should be displayed as the previous one - add an ability to move fields position - add new field after the selected field - UI issue for hidden field - alignment and margin issue - make form dynamic See sub-commits for details. Task: 1874350
Resolved issues and error corrections
This fix changes how internal references are handled so Odoo can reliably clean up technical records when an app is uninstalled. It prevents leftover database definitions and avoids installation or uninstall issues caused by unsupported deletion rules.
Original PR description
Closes https://github.com/odoo/odoo/pull/38847