Daily updates from Odoo
Navigate
Branch
Wednesday, June 6, 2018
12 changes
New functionality added to Odoo
Users can now mark messages as read directly from the messaging dropdown, reducing the need to open conversations just to clear notifications. Channel items are marked as seen, while inbox notifications can be cleared as read, making the message menu easier to manage.
Original PR description
Task:https://www.odoo.com/web#id=1817646&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
Pad:https://pad.odoo.com/p/r.f3a174c53fff7cee0a61f22f8f2ee672
-- if it's channel then make it Mark as Seen
-- if it's inbox notification then mark all message as read
[IMP]mail: improve the code
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-prOdoo Discuss channels can now require moderation before incoming messages are shared with members. Moderators get dedicated tools, notifications, and reminders to approve, reject, allow, or ban senders, helping teams keep channel conversations controlled and appropriate.
Original PR description
Task: https://www.odoo.com/web#id=29521&view_type=form&model=project.task&action=333&active_id=965&menu_id=4720
Odoo can now create draft vendor bills automatically from emails sent to purchase journal aliases. This reduces manual data entry by attaching supplier emails to bills, identifying vendors when possible, and guiding users to configure aliases when no bills exist.
Original PR description
Task: https://www.odoo.com/web#id=37703&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 PAD: https://pad.odoo.com/p/r.8c6b85bec5c462ec32cd56ca724bae88
Adds richer demo records across CRM, Events, HR, Expenses, Attendance, Recruitment, and Projects. This helps users and evaluators better understand common workflows such as sales follow-ups, event attendance, employee attendance, expense approvals, hiring pipelines, and project activities.
Original PR description
Description of the issue/feature this PR addresses: task link - https://www.odoo.com/web#id=43001&view_type=form&model=project.task&action=327&menu_id=4720 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
This update adds sample data for coupons, promotions, helpdesk tickets, signing templates, and signature requests so teams can better demonstrate and test these apps. It also adjusts lead scoring demo data to avoid leaving leads unassigned, helping dashboards show expected information after installation.
Original PR description
task link https://www.odoo.com/web#id=43001&view_type=form&model=project.task&action=327&menu_id=4720
Enhancements to existing features
Time off types can now be configured so employees request leave in days, half days, or hours. This gives businesses more control over how different absence policies are managed and makes leave tracking better match company rules.
Original PR description
Task: https://www.odoo.com/web#id=40995&view_type=form&model=project.task&menu_id=
Sales reporting has been optimized so report speed is less affected by the number of currency rates stored in the system. This should make sales analysis and pricelist filtering faster and more reliable for users working with large datasets.
Original PR description
sale.report speed was highly dependent on the currencies rates number. The date end of a rate was computed on the fly. Now, the date end is stored on the model to avoid on-the-fly computation. Lateral join is used to optimise the subquery and permit the subquery to use main query parameters. pricelist_id use a join instead of left join because the field is mandatory. This makes filters on pricelists faster in sale.report. 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
Odoo now handles date and time values more consistently across the system, reducing the need for manual conversions and lowering the risk of timezone-related mistakes. This update improves reliability in accounting and other business workflows where accurate dates and times are important.
Original PR description
Create new classes to return date and datetime-like objects accepting string behaviors. This permits to be compatible with existing code and to manipulate date and datetime without need of manual conversion. Each datetime has an explicit timezone, UTC by default, to fix all issues about misconvertion when timezone is unknown.
Exemples of operations:
```python
record.start_datetime -= datetime.timedelta(days=2)
record.start_datetime.replace('2017', '2018')
record.start_datetime.replace(year=2018)
record.start_datetime - '2015-10-26 16:29:00'
```
New classes are based on [pendulum](https://pendulum.eustace.io/) to have native support of correct timezones and a lot of great features. Date and datetime are automatically converted in good format for JSON exchange. The datetime lib is added to context for safe eval and server actions.
This cleans all modules and converts them to the new behavior.Developers can now choose whether PDF files or images appear first when users preview mixed attachments in the chatter side panel. This helps businesses tailor the document review experience to their workflow without changing the visible interface for end users.
Original PR description
task:https://www.odoo.com/web?#id=37703&view_type=form&model=project.task&action=327&menu_id=4720 pad: https://pad.odoo.com/p/r.8c6b85bec5c462ec32cd56ca724bae88
Date and time fields now behave more consistently while still working with existing text-based processes. This reduces timezone-related errors and makes accounting reports, imports, bank syncs, and follow-up workflows more reliable.
Original PR description
Create new classes to return date and datetime-like objects accepting string behaviors. This permits to be compatible with existing code and to manipulate date and datetime without need of manual conversion. Each datetime has an explicit timezone, UTC by default, to fix all issues about misconvertion when timezone is unknown.
Exemples of operations:
record.start_datetime -= datetime.timedelta(days=2)
record.start_datetime.replace('2017', '2018')
record.start_datetime.replace(year=2018)
record.start_datetime - '2015-10-26 16:29:00'
New classes are based on pendulum https://pendulum.eustace.io/ to have native support of correct timezones and a lot of great features. Date and datetime are automatically converted in good format for JSON exchange. The datetime lib is added to context for safe eval and server actions.
This cleans all modules and converts them to the new behavior.Resolved issues and error corrections
This fixes a broken link related to date fields, so users can navigate as expected when interacting with those fields. The change helps avoid dead ends in the interface and improves day-to-day usability.
Original PR description
Description of the issue/feature this PR addresses: someone has to fix the link Current behavior before PR: link doesn't work Desired behavior after PR is merged: link works -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mobile navigation menu now appears correctly on phones and tablets in both portrait and landscape views. This makes it easier for users to access navigation on smaller screens without workarounds.
Original PR description
Burger menu on mobile not visible with visible-sm-block in portrait mode. Adding visible-xs-block for both mobile and tablet (portrait and landscape) Related task: #1855803