Daily updates from Odoo
Friday, March 15, 2024
12 changes
8 changes
Enhancements to existing features
Helpdesk canned responses now have clearer access controls so users only see or manage responses appropriate to their role. This reduces accidental misuse while keeping support teams efficient when replying to customers through Helpdesk and live chat.
Original PR description
See https://github.com/odoo/odoo/pull/138486
The document sharing pop-up has been streamlined with clearer defaults, including an automatic name for new share links. This makes sharing documents faster and easier for users while reducing manual setup in related document workflows.
Original PR description
[IMP] documents : improve share modal UI This commit improves the UI of the share form dialog. It adds default name for the link and changes the type of action field from Selection to Boolean. taskid:3177098
Appointment scheduling now shows organizer conflict warnings in the standard appointment app, even when HR leave management is not installed. This helps users spot double-booked appointments earlier, including while creating new events, reducing scheduling mistakes.
Original PR description
When installing appointment_hr, users will get a warning in the small form of the gantt view if there is a conflict between another appointment and this appointment for the organizer. We move that code to appointment so that users may get the warning of conflicting events even when "hr leaves" are not a available. https://github.com/odoo/upgrade/pull/5800 task-3700412
Users can now publish social posts that contain images without requiring a written message. This makes image-led campaigns easier to create and keeps tracking information available by using the attachment name when no message is provided.
Original PR description
Purpose ======= Allow posting just images in a social post. Specification ============== This commit allows users to post images without a message. Technical ========= - It replaces the old constraint with `_check_message_or_image_not_empty`. - It alters the way UTM is prepared for social as previously we prepare UTM based on message but now it prepares UTM based on an attachment name if the message is not present. Task-3667674
Gantt views now offer a sparse display mode where each scheduled item appears on its own row, making timelines easier to read. Project task dependency views use this clearer layout, and dependency connectors can now be shown across more grouping levels.
Original PR description
This PR brings two improvements to the gantt view: - a new "sparse" display mode in which each gantt pill is put in its own row. - the possibility to display connectors for any number of groupbys. We also make the project tasks gantt views use the mode "sparse". Part of task `3601456`
Public Knowledge pages now show only the relevant published article subtree instead of every published article, making navigation less cluttered and better scoped to the shared link. Publishing an article also publishes its children so public users can browse the intended section as a focused sub-site.
Original PR description
This commit improves the front-end part of Knowledge which was until now a bit confusing. The old version of the front-end displayed all of the published articles which resulted in the view being really cramped, and a public user could access unrelated articles to the one he was given the link for. When a user publishes an article we now automatically publish its children in order to create subtrees containing a part of the published articles. This way sub-sites are created for the public users, when they access an article via the specific `/knowledge/article/<article_id>`. Only published articles that are below a root, which is the highest published ancestor are thus visible on the front-end. The query counter of the 'test_article_home_page' was adapted as we changed the way the 'first accessible article' is retrieved to also take into account visible articles. task-3607868
This update makes several Odoo screens and flows easier to use, including cleaner marketing automation cards, clearer wording, better WhatsApp template guidance, and improved appointment calendar behavior. It also removes automatic CRM appointment tagging and refreshes placeholder examples so users see more practical guidance.
Original PR description
This PR includes several commits grouped by module / feature. The details are available in commit messages. The main changes are: - Clean the design of marketing automation activity card - Various rewordings - Remove constraints on the whatsapp template buttons - New alias builder placeholders - Remove appointment crm tag COM PR: https://github.com/odoo/odoo/pull/155399 UPG PR: https://github.com/odoo/upgrade/pull/5791 Task-3653289
The appointment calendar now shows selected and unavailable scheduling areas with clearer colors, making availability setup easier to understand. Existing events no longer appear draggable or interactive while creating availability slots, reducing confusion for users.
Original PR description
### Adapt slot-creation mode colors This PR improves the selected and non-clickable areas in the calendar when the "Schedule availabilities" button is clicked. The background colors of the…
### Adapt slot-creation mode colors This PR improves the selected and non-clickable areas in the calendar when the "Schedule availabilities" button is clicked. The background colors of the `o_calendar_slot` used a green color applied in JS which didn't render well with the black text. This has been removed from the JS to apply the color in the SCSS instead. ### Disable events interaction in slot-creation mode Prior to this commit, when we were in slot-creation mode, we could always hover and drag events that already existed, but nothing happened. To fix this UX issue, we disable all interactions with these events. task-3630630 part of task-3575827 | Before | After | |--------|--------| |  | <img width="1787" alt="Capture d’écran 2024-03-12 à 11 19 17" src="https://github.com/odoo/enterprise/assets/80679690/924f2115-b182-4461-a5e4-53a5b43b3818"> | task-3630630 part of task-3575827
4 changes
Enhancements to existing features
The Mexican EDI Extended module has been updated to use Odoo's standard file handling tools instead of outdated system path methods. This change improves reliability when locating files, particularly in complex system setups with symbolic links, and ensures the module works consistently across different environments.
Original PR description
Replace outdated realpath usage with odoo tools.file_open. Allows file_open to locate file from addons path rather than looking up through realpath. This will resolve potential issues with realpath not finding the proper path of files in certain situations (like a symlink). Worth noting that file_open uses abspath instead of realpath anyway. Forward-Port-Of: odoo/enterprise#58659 Forward-Port-Of: odoo/enterprise#58305
This update fixes an issue where discounts were being incorrectly recalculated when a sales order was confirmed. The change ensures that discounts applied to orders remain stable and are not recomputed during the confirmation process, which is particularly important for subscription-based sales. A test has been added to prevent this problem from occurring again in the future.
Original PR description
Add test to cover a problem fixed in `sale_subscription` opw-3740645 See also: https://github.com/odoo/enterprise/pull/58673 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the performance of the accounting reconciliation process by adding a database index to the tax cash basis records. The optimization speeds up the deletion of reconciliation records, resulting in faster reconciliation operations for users working with accounts.
Original PR description
## Description Add missing index on FKey `tax_cash_basis_rec_id` to speed up deletion of `account.partial.reconcile` records during reconciliation. It's `btree_not_null` as the relationship is sparse. ## Reference opw-3649801 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#157415
This update refreshes the Spanish language translations for the Odoo localization module. The changes ensure that Spanish-speaking users have accurate and up-to-date text throughout the system, improving their experience and usability.
Original PR description
Enterprise: https://github.com/odoo/enterprise/pull/58700