Daily updates from Odoo
Friday, August 9, 2019
9 changes · master
Enhancements to existing features
Odoo’s mail gateway now handles bounced and valid incoming emails more consistently, helping keep mailing lists cleaner and contact delivery status more accurate. The change also removes outdated private email discussion routing and simplifies the underlying mail processing for more reliable future maintenance.
Original PR description
PURPOSE Add some improvements in mail gateway: remove private discussion, improve bounce management, allow resetting bounce counters, improve automatic set or reset of blacklists and ease mass…
PURPOSE Add some improvements in mail gateway: remove private discussion, improve bounce management, allow resetting bounce counters, improve automatic set or reset of blacklists and ease mass mailing inheritance. MAIN SPECIFICATIONS Remove private discussion support in mail gateway. It is not really supported since several versions. This merge removes remaining code in gateway. Perform all incoming email parsing in message_parse and its sub methods. That way future processing can use parsed values instead of re-doing parsing of required information. Add ``_message_parse_extract_bounce`` parsing sub method to parse bounce information and use it in mass mailing. Add ``_routing_handle_bounce``: handle bounced emails by notably updating the bounce counter on blacklist records. Add ``_routing_reset_bounce``: handle valid incoming emails by notably resetting bounce information on that specific email. Have ``_message_receive_bounce`` and ``_message_reset_bounce`` being void in mail.thread and updating reset counter in blacklist enabled records. Update blacklist / unblacklist in mass mailing, take into account traces and partner information. Add tests. See sub commits for more details and explanation. LINKS See task 1893155
Mobile users selecting related records now see a kanban-style card view instead of a list, making choices easier to scan and tap. Odoo also adds configuration so teams can tailor these selection screens and hide unnecessary controls during selection.
Original PR description
- Add support of "kanban_view_ref" on many2x fields: For many2one fields, this specific kanban view will be opened when you click on this field. Note that in desktop, the behavior stay unchanged: 'Search More' will open the tree view. For many2many fields, this specific kanban view will be opened when you add a record in mobile. - Add support "selection_mode" in kanban views. This boolean is set to true when you want to use a kaban view to select a record instead of open a record. "selection_mode" is now passed in qweb_context to allow developers to use t-if='selection_mode' in kanban views to show or hide elements; buttons, dropdowns, anchor tags are not necessary when selection_mode is enabled. So those elements can be hidden based on this condition. Useful when kanban view is opened from m2o in mobile environment. Task ID : 1924779
Employee badge handling is now clearer, with simplified generate and print actions when managing badge IDs. Attendance screens also receive wording and layout improvements, including clearer manual identification and visible work hours for managers.
Original PR description
Purpose of this task is ease the badge creation and few wording of attendance. task- 2040884 pad link- https://pad.odoo.com/p/r.96aa2f8037ea86650adfe5bd88648037
This update refreshes several website editing dialogs to make them clearer and easier to use, including SEO, theme, menu/link, and optimization screens. It also replaces older promotional footer badges with the official Odoo logo and improves small visual issues such as spacing and text readability.
Original PR description
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
The website publishing control is now easier to understand, with a clearer “Go to Website” label and color-coded globe icon showing whether content is published. This helps users quickly see publication status and open related website pages, including product pages, in a new tab.
Original PR description
[IMP] website, *: improve published smart button * = website_blog, website_crm_partner_assign, website_event_track, website_forum, website_hr, website_hr_recruitment, website_livechat, website_partner, website_sale, website_slides The published button name is a bit ambiguous, now it will clearly state what it does with a new title : "Go to Website". The "Published", "Unpublished" state is shown with the globe icon changing color (green and red). Also the website page referencing the product now opens in a new tab. task-2002435
Website forums can now be configured as either Questions and Answers or Discussions. This gives businesses more control over community interactions: Q&A keeps responses limited and focused, while Discussions allow open-ended conversation.
Original PR description
qsd It is now possible to specify the forum mode : Questions and Answers or Discussions. In Q&A mode, a user can only reply once while there is no limit in Discussions mode. task-2008910 closes odoo/odoo#34097 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com> 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
Event sessions can now show and manage more than one speaker, making schedules better reflect panels, co-presentations, and collaborative talks. This improves the event website and back-office forms so organizers can present speaker information more accurately to attendees.
Original PR description
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
Point-of-sale sessions now create one combined accounting entry when closing instead of separate entries for every order. This reduces the volume of journal entries, speeds up closing for sessions with many orders, and makes payment reconciliation simpler.
Original PR description
Main goal of this task is to create single accounting entry for the pos.session instead of individual accounting entry for each order in the session. This significantly minimizes the number of created journal entries by point_of_sale which also results to faster closing of session when there is large numbers (order of thousands) of orders in the session.
Some warning messages shown after field changes can now appear as lightweight toast notifications instead of always interrupting users with a pop-up. This helps reduce disruption while preserving modal warnings for cases that still need stronger attention.
Original PR description
Warnings for the onchange now takes a type to know if it needs to be displayed with a modal (like before). Else it is displayed with a toast notification. Related to: https://github.com/odoo/odoo/pull/35342