Daily updates from Odoo
Monday, April 29, 2019
7 changes · master
Enhancements to existing features
Event managers can now use an activity view to quickly see activities linked to event tracks. This makes it easier to follow up on planned tasks and logged actions without opening each track individually.
Original PR description
Description of the issue/feature this PR addresses: Add the missing activity view Current behavior before PR: There is no way to quickly view all activities for the even tracks while event tracks do allow to define activities Desired behavior after PR is merged: The activity view is added on the event tracks so you can quickly see all activities logged on event tracks:  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Images now keep their original proportions when resized, avoiding unwanted white borders and visual distortion across Odoo. The update also improves favicon handling, image validation, file size support, and consistency of image display in website, web, product, HR, mail, payment, purchase, and live chat areas.
Original PR description
Merge commit for PR: #31811 The main goal is to keep the image ratio on resize (instead of adding a white border). The opportunity is taken to also clean up the image tools. See individual commit…
Merge commit for PR: #31811 The main goal is to keep the image ratio on resize (instead of adding a white border). The opportunity is taken to also clean up the image tools. See individual commit messages for more information. Functional: - Remove the white border from all images (never resize to square, keep aspect ratio) - Prevent some images from being 3px shorter than expected - Resize the website favicons appropriately, always encode them as ICO, add a default favicon to new websites - Secure images going through the tools by returning an error when non-image content is given - Incrase the max image filesize from 42e6 to 45e6 to fit some of the biggest images we might get from Unsplash - Always return the correct mimetype/Content-Type for images - The avatar placeholder was white displayed on top of white, now it's grey so we can actually see it Technical: - make image tools more consistent by merging the tools and removing duplicate code - add tests for the image tools - remove uncessary parameters - remove the "ghost border fix" task-1958000
The mail blacklist form no longer shows the record creation date because that information is already available in the system metadata. This keeps the form simpler and avoids displaying redundant information to users.
Original PR description
**Description of the issue/feature this PR addresses:** As discussed here https://github.com/odoo/odoo/pull/27947, the `create_date` is indeed available in metadata, no need to keep it in the form view. It's unnecessary for a magic ORM field to be present in the form view. **Current behavior before PR:** `create_date` is present in the blacklist form view. **Desired behavior after PR is merged:** `create_date` is not present in the blacklist form view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change updates the email scheduling date so it is stored as an actual date and time instead of plain text. This should make scheduled email handling more reliable and easier to use consistently across the system.
Original PR description
Description of the issue/feature this PR addresses: For effective use, scheduled_date from mail_mail class changed to Datetime Current behavior before PR: Currently scheduled_date field of mail_mail class is of type fields.Char Desired behavior after PR is merged: scheduled_date field of mail_mail class changed to fields.Datetime -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update marks a calendar module method as internal because it is not used directly by users, integrations, or the web interface. It helps keep the system cleaner and easier to maintain without changing day-to-day calendar behavior.
Original PR description
Description of the issue/feature this PR addresses: `calendar` module Current behavior before PR: Desired behavior after PR is merged: This method should be private as it is not called from RPC or Web client. Cc: @odony -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
CRM opportunity screens now show the related buying center contacts directly, reducing the need to navigate away during sales calls. This helps sales teams keep relevant people visible while taking notes, discussing the deal, or preparing a quote.
Original PR description
- [ ] Manual QA on runbot - [ ] Fix failing tests It is an utterly convenient feature to have the buying center at a finger tip on the opportunity screen. **Description of the issue/feature this PR…
- [ ] Manual QA on runbot - [ ] Fix failing tests It is an utterly convenient feature to have the buying center at a finger tip on the opportunity screen. **Description of the issue/feature this PR addresses:** - Have a complete view over the buying center from a crm opportunity **Current behavior before PR:** - The buying center was a few clicks away - Those clicks might interrupt an ongoing note taking so it's pretty annoing **Desired behavior after PR is merged:** - Have the whole buying center at sight so you can easily do smart name dropping throughout a phone call while taking notes and generating a quote. **Thinkable further improvements:** - Define the (copied) contact `kanban` and `form` view as independent view records in `base` and only reference them with `ref` here. (36136eebda4f6b847746fe04a0614e80cbc2c1f1) **Note:** Please do not close, even if not immediately accepted (wishlist tag). This PR is meant to be carried along and actively maintained, until this semantic will be completed this way or another. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @xoe-labs
The Documents app now offers improved image handling tools, making it easier for users to work with image files directly in their document workflow. This helps teams review and manage visual content more efficiently without leaving Odoo.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/31811