Thursday, May 2, 2019
6 changes · master
Enhancements to existing features
This update makes form screens behave more reliably and gives teams more flexibility when designing data entry fields. It supports helpful placeholder text in forms, avoids interfering with custom buttons, and improves error handling when an action cannot be processed.
Original PR description
This commit is a few small improvement/fixes to the web framework: - allow placeholder attribute on input tags in form view - only bind click event handler to buttons managed by the framework, not custom ones - _onExecuteAction method in action manager properly fails if event cannot be properly handled 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
Sales orders, invoices, event registrations, and related reports now carry marketing campaign tracking details more consistently. This helps businesses better connect revenue and registrations to the campaigns and channels that generated them, while simplifying the underlying website sales tracking setup.
Original PR description
Purpose: improve UTM definition and propagation in sale and account
applications, as well as in event.
Specifications
* inherit from utm mixin in sale for SO and invoice;
* propagate UTMs from SO to invoice when invoicing;
* add utm fields on registration model;
* remove website_sale_link_tracker module and inline its content in sale
and website_sale;
Merge linked to task ID 1929272This change improves how Odoo handles record deletions by identifying related records that are removed automatically and refreshing only the affected data. It also expands deletion logging so administrators can better trace what was removed, which can help diagnose configuration issues.
Original PR description
**Description of the issue/feature this PR addresses:** If you unlink only one record, it invalidate all the cache. The main reason is because when don't know witch record are delete by postgre. Indead some field are automaticly delete by the `cascade` command. During the unlink process find the records linked by the `cascade`, and invalidate only needed cache. If you unlink a purchase order, you see in the log only the unlink of the order, and not the lines. If there are a bad configuration of cascade, it is very hard to know when a record is unlink. **Current behavior before PR:** Invalidate all cache. **Desired behavior after PR is merged:** Invalidate only what needed. Full all unlink logging. Note : it is a POC, it work great for full logging Todo : - [ ] fix recursion issue - [ ] fix related field @odony @rco-odoo what do you think ? -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This improves how Odoo updates linked information by grouping related changes into a single update instead of processing each field separately. The change reduces unnecessary database work and should improve performance when records with related fields are updated.
Original PR description
Task: https://www.odoo.com/web#id=35171&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.10814072325586b80df20d70a931c52f
Resolved issues and error corrections
This update fixes a typo in the Mail template area. It is a minor text correction that improves clarity without changing how users work with the system.
Original PR description
Description of the issue/feature this PR addresses: Fixed Typo Current behavior before PR: Desired behavior after PR is merged: https://github.com/odoo/odoo/blob/4b122ad41d873febe288ab1f8c6cdc078ca2a479/addons/mail/mail_template.py#L521 Cc: @tde-banana-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix lets event defaults be overridden without having to redefine the whole field. It makes event customization simpler and reduces unnecessary technical work for teams tailoring Odoo to their processes.
Original PR description
Description of the issue/feature this PR addresses: Without this patch, you have to redefine the field to be able to override this field. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @Tecnativa