Daily updates from Odoo
Tuesday, February 22, 2022
9 changes
Enhancements to existing features
Sales rentals and subscriptions now work more reliably when no pricelist is set. Rental pricing also applies pricelist rules on top of rental-specific prices, helping ensure customer pricing is calculated consistently.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/39048
Helpdesk has been adjusted to stay compatible with a related change in how customer rating data is handled. This helps keep helpdesk feedback and satisfaction information working consistently after the underlying data move.
Original PR description
See community PR for more details.
This update improves how many Odoo Enterprise apps create records in groups instead of one at a time. It should improve performance and consistency in workflows that generate many records, while also preparing the platform for future efficiency improvements.
Original PR description
By default, the ORM supports batch creation of records, but when one `create` overrides doesn't support the creation of records in batch, records creation on the given model are done 1 by 1, disabling lots of improvements gained thanks to the manipulation of records in batch. To enable such performance improvements (at the ORM level, but also in create overrides sometimes), this PR aims to adapt the majority of existing create overrides in Odoo codebase to support batch record creation. Some of the changes won't really have any impact because the records are always created one by one, but converting them: 1) encourages new create override to support multi record creation (devs are copy/pasting/... a lot) 2) provides the basis for a potential future API change to enforce batch creation support. Enterprise Counterpart of https://github.com/odoo/odoo/pull/54601
Marketing, referral, and social posting flows now generate unique tracking source names automatically. This prevents duplicate-name conflicts when campaigns or activities are copied, improving reliability of reporting and campaign setup.
Original PR description
Purpose ======= Use the new UTM source method to generate the name. Now that the UTM source name must be unique, the name of the marketing activities must also be unique. When we duplicate them, their names become "ShouldDuplicate [xxxxxxx]", because a source already exist with the same name. Adapt the test with this new change. Task-2245823
Sales and stock reporting queries were cleaned up and made more consistent with access and company rules. This helps ensure report averages and aggregated values match what users are allowed to see, improving trust in business dashboards.
Original PR description
Cleaning and fixes on SQL reports Enterprise Counterpart of odoo/odoo#51623
Odoo now handles posting the same message across multiple records more efficiently in several business apps. This reduces unnecessary processing, especially when there are no recipients to notify, while keeping message behavior consistent for users.
Original PR description
+ mail override cleanup/improvements COM PR: https://github.com/odoo/odoo/pull/61237
HR plans can now include signature requests as part of their planned employee actions, making onboarding, contract changes, or offboarding workflows easier to complete. This reduces manual follow-up by letting teams trigger required document signatures directly from the HR plan process.
The CRM Pipeline no longer shows dashboard and cohort views by default, reducing clutter and making the main pipeline easier to use. These more advanced views remain better suited for the Reporting area, helping users focus on day-to-day sales work.
Original PR description
We remove the dashboard and cohort views from the default Pipeline action. The purpose is to avoid to have too many complex buttons on this Pipeline. It's better suited to the Reporting menu. task-2760892
HR teams can now email departing or former employees a temporary link to access their documents, including payslips, without requiring system login access. This simplifies offboarding and helps employees retrieve important records after departure.
Original PR description
Add a way to easily send a departing/departed employee his documents without login access. When archiving an employee an option will be available opening a form to send en email containing a link to a document share (valid 2 weeks) for all of the employees document (payslips). Alternatively an action has also been added to the employee form. Task ID: 2476837 Community: odoo/odoo#68682